|
Canola
0.8.D001
|
#include <pixbuf.h>
Public Types | |
| typedef Glib::RefPtr< Gdk::Pixbuf > | pixbuf_ptr_t |
| typedef std::vector< pixbuf_ptr_t > | result_t |
Public Member Functions | |
| virtual | ~program_card_functor_image_pixbuf () |
| void | operator() (unsigned card_num, unsigned card_count, const unsigned char *data, size_t data_size) |
Static Public Member Functions | |
| static pointer | create (result_t &result, double dpi) |
Private Member Functions | |
| program_card_functor_image_pixbuf (result_t &result, double dpi) | |
| program_card_functor_image_pixbuf () | |
| program_card_functor_image_pixbuf (const program_card_functor_image_pixbuf &rhs) | |
| program_card_functor_image_pixbuf & | operator= (const program_card_functor_image_pixbuf &rhs) |
Private Attributes | |
| result_t & | result |
| double | dots_per_inch |
The program_card_functor_image_pixbuf class is used to represent the processing required to build a set of pixbufs from a program.
| typedef Glib::RefPtr<Gdk::Pixbuf> program_card_functor_image_pixbuf::pixbuf_ptr_t |
| typedef std::vector<pixbuf_ptr_t> program_card_functor_image_pixbuf::result_t |
| program_card_functor_image_pixbuf::program_card_functor_image_pixbuf | ( | result_t & | result, |
| double | dpi | ||
| ) | [private] |
The default constructor. Do not use.
| program_card_functor_image_pixbuf::program_card_functor_image_pixbuf | ( | const program_card_functor_image_pixbuf & | rhs | ) | [private] |
The copy constructor. Do not use.
| rhs | The right hand side of the initialization. |
| program_card_functor_image_pixbuf::pointer program_card_functor_image_pixbuf::create | ( | result_t & | result, |
| double | dpi | ||
| ) | [static] |
The create class method is used to create a new dynamically allocated instance of this class.
| result | Where to place the images once they have been created. |
| dpi | The resolution of the containing window, dots per inch |
| void program_card_functor_image_pixbuf::operator() | ( | unsigned | card_num, |
| unsigned | card_count, | ||
| const unsigned char * | data, | ||
| size_t | data_size | ||
| ) | [virtual] |
The function call operator is overloaded to implement the functionality (that's why it's called a functor).
| card_num | The number of the card within the set (1 based). |
| card_count | The number of cards in the set. |
| data | The base of the array of bytes containing the program. |
| data_size | The number of bytes in this card image (> 0, <= 40). |
Implements program_card_functor.
| program_card_functor_image_pixbuf& program_card_functor_image_pixbuf::operator= | ( | const program_card_functor_image_pixbuf & | rhs | ) | [private] |
The assignment operator. Do not use.
| rhs | The right hand side of the assignment. |
double program_card_functor_image_pixbuf::dots_per_inch [private] |
1.7.6.1