TextT.getCharacterExtents

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

template TextT(TStruct)
void
getCharacterExtents
(
int offset
,
out int x
,
out int y
,
out int width
,
out int height
,
AtkCoordType coords
)

Parameters

offset int

The offset of the text character for which bounding information is required.

x int

Pointer for the x cordinate of the bounding box

y int

Pointer for the y cordinate of the bounding box

width int

Pointer for the width of the bounding box

height int

Pointer for the height of the bounding box

coords AtkCoordType

specify whether coordinates are relative to the screen or widget window

Meta