All Classes |Grouped Classes |Index

Function get_text_size

Calculate size of text string.

	CL_Size CL_Font::get_text_size(
		CL_GraphicContext & gc,
		const CL_StringRef & text);

Detailed description:

Multiline text (seperated by /n) is supportedNote: The height also includes whitespace (to give the maximum font height), so "." and "ttheetthe same hame hame height.The width is the pixel widthThe size is the increment value to the next glyph