mapnik::text_path Struct Reference

#include <text_path.hpp>

List of all members.

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

Classes

struct  character_node


Member Typedef Documentation


Constructor & Destructor Documentation

mapnik::text_path::text_path (  )  [inline]

mapnik::text_path::~text_path (  )  [inline]


Member Function Documentation

void mapnik::text_path::add_node ( int  c,
double  x,
double  y,
double  angle 
) [inline]

References nodes_.

void mapnik::text_path::vertex ( int *  c,
double *  x,
double *  y,
double *  angle 
) [inline]

void mapnik::text_path::rewind (  )  [inline]

References itr_.

Referenced by mapnik::cairo_context::add_text().

int mapnik::text_path::num_nodes (  )  const [inline]

void mapnik::text_path::clear (  )  [inline]

References nodes_.


Member Data Documentation

Referenced by add_node(), clear(), num_nodes(), and vertex().

Referenced by rewind(), and vertex().

std::pair<unsigned,unsigned> mapnik::text_path::string_dimensions


The documentation for this struct was generated from the following file:

Generated for Mapnik by doxygen 1.5.6