Home | All Classes | Grouped Classes | Index | Search
Returns the drawn height of the entire font or a string.
int get_height();
int get_height(
const std::string& str, const CL_Size& max_size = CL_Size(0, 0), const std::string& delim = std::string(" "));
int get_height(
const std::string::const_iterator& start, const std::string::const_iterator& end, const CL_Size& max_size = CL_Size(0, 0), const std::string& delim = std::string(" "));
Parameters:
Return value:
The height in pixels.
Detailed description:
The height of the entire font is the height of the tallest glyph in the font; this is what is returned if you specify no arguments. The point of having the height functions accept a string is to compensate for strings spanning multiple lines.
See also: