get_image_extents


Description:

public Rect get_image_extents (CoordType ctype) throws Error

Gets the bounding box of the image displayed in a specified Image implementor.

The returned values are meaningful only if the Image has both STATE_VISIBLE and STATE_SHOWING.

Parameters:

this

a pointer to the Image implementor to query.

ctype

the desired coordinate system into which to return the results, (e.g. ATSPI_COORD_TYPE_WINDOW, ATSPI_COORD_TYPE_SCREEN).

Returns:

a pointer to an Rect corresponding to the image's bounding box. The minimum x and y coordinates, width, and height are specified.




2022 vala-language.org