import "Accessibility_Image.idl";
Public Member Functions | |
BoundingBox | getImageExtents (in short coordType) |
void | getImagePosition (out long x, out long y, in short coordType) |
void | getImageSize (out long width, out long height) |
Data Fields | |
readonly attribute string | imageDescription |
readonly attribute string | imageLocale |
BoundingBox Accessibility::Image::getImageExtents | ( | in short | coordType | ) |
Obtain a bounding box which entirely contains the image contents, as displayed on screen. The bounds returned do not account for any viewport clipping or the fact that the image may be partially or wholly obscured by other onscreen content.
coordType | If 0, the returned bounding box position is returned relative to the screen; if 1, the bounding box position is returned relative to the containing window. |
void Accessibility::Image::getImagePosition | ( | out long | x, | |
out long | y, | |||
in short | coordType | |||
) |
Get the coordinates of the current image position on screen.
x | Back-filled with the x coordinate of the onscreen image (i.e. the minimum x coordinate) | |
y | Back-filled with the y coordinate of the onscreen image (i.e. the minimum y coordinate) | |
coordType | If 0, the returned x and y coordinates are returned relative to the screen; if 1, they are returned relative to the containing window. |
void Accessibility::Image::getImageSize | ( | out long | width, | |
out long | height | |||
) |
Obtain the width and height of the current onscreen view of the image. The extents returned do not account for any viewport clipping or the fact that the image may be partially or wholly obscured by other onscreen content.
width | Back-filled with the x extents of the onscreen image (i.e. the image width in pixels) | |
height | Back-filled with the y extents of the onscreen image (i.e. the image height in pixels) |
readonly attribute string Accessibility::Image::imageDescription |
A UTF-8 string providing a textual description of what is visually depicted in the image.
readonly attribute string Accessibility::Image::imageLocale |
A string corresponding to the POSIX LC_MESSAGES locale used by the imageDescription.