Home | All Classes | Grouped Classes | Index | Search

CL_GlyphBuffer::get_size

Returns the size of the entire buffer, or a sub-Range.

	CL_Size get_size(
		bool ignore_invis = true);

	CL_Size get_size(
		int idx, bool ignore_invis = true);

	CL_Size get_size(
		Range range, bool ignore_invis = true);

Parameters:

range
A subsection of the glyphs vector to get the size of.
idx
The vector index of a single glyph to get the size of.
ignore_invis
If true, ignores invisible glyphs (glyphs without an actual visual glyph in the font)

Return value:

The size in pixels.

See also:

CL_GlyphBuffer | CL_Size



Questions or comments, write to the ClanLib mailing list.