CL_GlyphBuffer::get_font_markers - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_GlyphBuffer::get_font_markers

Returns a reference to the font map.

    	std::map<int, CL_Font>& get_font_markers();

    	const std::map<int, CL_Font>& get_font_markers();

Detailed description:

Elements of the glyphs vector before the first font marker are ignored. Each element within this map causes a change in the font while drawing, where the key of the element is the index in the glyphs vector before which the font is changed.

See also:

CL_GlyphBuffer | CL_Font

Questions or comments, write to the ClanLib mailing list.