get_character_extents
Description:
Gets a bounding box containing the glyph representing the character at a particular text offset.
The returned values are meaningful only if the Text has both STATE_VISIBLE and STATE_SHOWING.
Parameters:
this |
a pointer to the Text object on which to operate. |
offset |
a int indicating the offset of the text character for whom boundary information is requested. |
type |
an |
Returns:
An Rect specifying the position and size of the character. |