Home | Download | Screen shots | Discussion | Documentation |
---|
For internal use only.
Public Member Functions | |
glyph_geometry (const std::vector< std::vector< vec2f > > &contours, float advance_width, float advance_height) throw (std::bad_alloc) | |
Construct from a set of contours. | |
Public Attributes | |
std::vector< vec2f > | coord |
Glyph coordinates. | |
std::vector< int32 > | coord_index |
Glyph coordinate indices. | |
float | advance_width |
The distance the pen should advance horizontally after drawing the glyph. | |
float | advance_height |
The distance the pen should advance vertically after drawing the glyph. |
openvrml::vrml97_node::text_node::glyph_geometry::glyph_geometry | ( | const std::vector< std::vector< vec2f > > & | contours, | |
float | advance_width, | |||
float | advance_height | |||
) | throw (std::bad_alloc) |
Construct from a set of contours.
contours | a vector of closed contours that make up the glyph's outline. | |
advance_width | the distance the pen should advance horizontally after drawing the glyph. | |
advance_height | the distance the pen should advance vertically after drawing the glyph. |
std::bad_alloc | if memory allocation fails. |
std::vector< vec2f > openvrml::vrml97_node::text_node::glyph_geometry::coord |
Glyph coordinates.
Glyph coordinate indices.
The distance the pen should advance horizontally after drawing the glyph.
The distance the pen should advance vertically after drawing the glyph.