Home | All Classes | Grouped Classes | Index | Search
Calculate the rectangle that would be occupied by a draw operation.
CL_Rect bounding_rect( int x, int y, const std::string& str); CL_Rect bounding_rect( CL_Rect dest, const std::string& str); CL_Rect bounding_rect( int x, int y, std::string::const_iterator start, std::string::const_iterator end); CL_Rect bounding_rect( CL_Rect dest, std::string::const_iterator start, std::string::const_iterator end);
Parameters:
Detailed description:
You can specify a dest rectangle with a width or height of zero or less to disable word wrapping or height truncating, respectively.
See also: