#include <text_path.hpp>
Classes | |
struct | character_node |
Public Types | |
typedef std::vector < character_node > | character_nodes_t |
Public Member Functions | |
text_path () | |
~text_path () | |
void | add_node (int c, double x, double y, double angle) |
void | vertex (int *c, double *x, double *y, double *angle) |
void | rewind () |
int | num_nodes () const |
void | clear () |
Public Attributes | |
double | starting_x |
double | starting_y |
character_nodes_t | nodes_ |
int | itr_ |
std::pair< unsigned, unsigned > | string_dimensions |
typedef std::vector<character_node> mapnik::text_path::character_nodes_t |
mapnik::text_path::text_path | ( | ) | [inline] |
mapnik::text_path::~text_path | ( | ) | [inline] |
void mapnik::text_path::add_node | ( | int | c, | |
double | x, | |||
double | y, | |||
double | angle | |||
) | [inline] |
References nodes_.
void mapnik::text_path::clear | ( | ) | [inline] |
References nodes_.
int mapnik::text_path::num_nodes | ( | ) | const [inline] |
References nodes_.
Referenced by mapnik::cairo_context::add_text(), and mapnik::text_renderer< T >::prepare_glyphs().
void mapnik::text_path::rewind | ( | ) | [inline] |
void mapnik::text_path::vertex | ( | int * | c, | |
double * | x, | |||
double * | y, | |||
double * | angle | |||
) | [inline] |
Referenced by mapnik::cairo_context::add_text(), and mapnik::text_renderer< T >::prepare_glyphs().
Referenced by add_node(), clear(), num_nodes(), and vertex().
Referenced by mapnik::cairo_context::add_text().
Referenced by mapnik::cairo_context::add_text().
std::pair<unsigned,unsigned> mapnik::text_path::string_dimensions |