Include <stdlib.h> to fix ISan build.
[platform/upstream/at-spi2-core.git] / idl / image.didl
1
2 /*
3   An interface implemented by objects which render image data or
4   pictoral information on to the screen.
5 */
6 interface org.freestandards.atspi.Image {
7         /* A textual description of what is visually depicted on the screen. */
8         read property string ImageDescription;
9
10         /* A string corresponding to the local used by the image description. */
11         read property string ImageLocale;
12
13         /* Obtain a bounding box which entirely contains the image contents. */
14         method GetImageExtents {
15                 CoordType coord_type;
16         } reply {
17                 BoundingBox;
18         }
19
20         /* Get the coordinates of the image on the screen */
21         method GetImagePosition {
22                 CoordType coord_type;
23         } reply {
24                 int32 x;
25                 int32 y;
26         }
27
28         /* Get the size of the current on-screen view of the image. */
29         method GetImageSize reply {
30                 int32 width;
31                 int32 height;
32         }
33 }