get_range_extents


Description:

[ Version ( since = "1.3" ) ]
public abstract TextRectangle get_range_extents (int start_offset, int end_offset, CoordType coord_type)

Get the bounding box for text within the specified range.

If the extents can not be obtained (e.g. or missing support), the rectangle fields are set to -1.

Parameters:

this

an Text

start_offset

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

end_offset

The offset of the text character after the last character for which boundary information is required.

coord_type

Specify whether coordinates are relative to the screen or widget window.

rect

A pointer to a AtkTextRectangle which is filled in by this function.