Home | All Classes | Grouped Classes | Index | Search
Add elements onto the end of the glyphs vector.
CL_GlyphBuffer& add( int x, int y, unsigned int character); CL_GlyphBuffer& add( const CL_GlyphBuffer& other, int center_x = 0, int center_y = 0); CL_GlyphBuffer& add( const CL_GlyphBuffer& other, Range range, int center_x = 0, int center_y = 0);
Parameters:
Return value:
A reference to this object, allowing you to chain multiple calls of add() together.
Detailed description:
It's usually more useful and efficient to have ClanLib draw many glyphs into the GlyphBuffer at once using CL_Font::draw_to_gb() or CL_TextStyler::draw_to_gb() than to use this function or the glyphs vector to manually add glyphs.
See also:
CL_Font | CL_GlyphBuffer | CL_TextStyler