Canola
0.8.D001
|
#include <svg.h>
Public Member Functions | |
virtual | ~program_card_functor_image_svg () |
void | operator() (unsigned card_num, unsigned card_count, const unsigned char *data, size_t data_size) |
Static Public Member Functions | |
static pointer | create (const std::string &filename) |
Private Member Functions | |
program_card_functor_image_svg (const std::string &filename) | |
program_card_functor_image_svg () | |
program_card_functor_image_svg (const program_card_functor_image_svg &rhs) | |
program_card_functor_image_svg & | operator= (const program_card_functor_image_svg &rhs) |
Private Attributes | |
std::string | filename |
The program_card_functor_image_svg class is used to represent the processing required to draw program card images into a PNG file.
program_card_functor_image_svg::program_card_functor_image_svg | ( | const std::string & | filename | ) | [private] |
The default constructor. Do not use.
program_card_functor_image_svg::program_card_functor_image_svg | ( | const program_card_functor_image_svg & | rhs | ) | [private] |
The copy constructor. Do not use.
rhs | The right hand side of the initialization. |
program_card_functor_image::pointer program_card_functor_image_svg::create | ( | const std::string & | filename | ) | [static] |
void program_card_functor_image_svg::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_svg& program_card_functor_image_svg::operator= | ( | const program_card_functor_image_svg & | rhs | ) | [private] |
The assignment operator. Do not use.
rhs | The right hand side of the assignment. |
std::string program_card_functor_image_svg::filename [private] |