Text.getCharacterExtents

void getCharacterExtents(int offset, out int x, out int y, out int width, out int height, atk.types.CoordType coords)

If the extent can not be obtained (e.g. missing support), all of x, y, width, height are set to -1.

Get the bounding box containing the glyph representing the character at a particular text offset.

Parameters

offsetThe offset of the text character for which bounding information is required.
xPointer for the x coordinate of the bounding box
yPointer for the y coordinate of the bounding box
widthPointer for the width of the bounding box
heightPointer for the height of the bounding box
coordsspecify whether coordinates are relative to the screen or widget window