1 #include <cspi/spi-private.h>
5 * @obj: a pointer to the #AccessibleImage implementor on which to operate.
7 * Increment the reference count for an #AccessibleImage object.
9 * Returns: (no return code implemented yet).
13 AccessibleImage_ref (AccessibleImage *obj)
15 cspi_object_ref (obj);
22 * AccessibleImage_unref:
23 * @obj: a pointer to the #AccessibleImage implementor on which to operate.
25 * Decrement the reference count for an #AccessibleImage object.
27 * Returns: (no return code implemented yet).
31 AccessibleImage_unref (AccessibleImage *obj)
33 cspi_object_unref (obj);
39 * AccessibleImage_getImageDescription:
40 * @obj: a pointer to the #AccessibleImage implementor on which to operate.
42 * Get the description of the image displayed in an #AccessibleImage object.
44 * Returns: a UTF-8 string describing the image.
48 AccessibleImage_getImageDescription (AccessibleImage *obj)
51 Accessibility_Image__get_imageDescription (CSPI_OBJREF (obj), cspi_ev ());
57 * AccessibleImage_getImageSize:
58 * @obj: a pointer to the #AccessibleImage to query.
59 * @width: a pointer to a #long into which the x extents (width) will be returned.
60 * @height: a pointer to a #long into which the y extents (height) will be returned.
62 * Get the size of the image displayed in a specified #AccessibleImage object.
66 AccessibleImage_getImageSize (AccessibleImage *obj,
70 Accessibility_Image_getImageSize (CSPI_OBJREF (obj),
71 (CORBA_long *) width, (CORBA_long *) height, cspi_ev ());
77 * AccessibleImage_getImagePosition:
78 * @obj: a pointer to the #AccessibleImage implementor to query.
79 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
80 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
81 * @ctype: the desired coordinate system into which to return the results,
82 * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
84 * Get the minimum x and y coordinates of the image displayed in a
85 * specified #AccessibleImage implementor.
89 AccessibleImage_getImagePosition (AccessibleImage *obj,
92 AccessibleCoordType ctype)
94 Accessibility_Image_getImagePosition (CSPI_OBJREF (obj),
95 (CORBA_long *) x, (CORBA_long *) y, (CORBA_short) ctype,
100 * AccessibleImage_getImageExtents:
101 * @obj: a pointer to the #AccessibleImage implementor to query.
102 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
103 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
104 * @width: a pointer to a #long into which the image x extent will be returned.
105 * @width: a pointer to a #long into which the image y extent will be returned.
106 * @ctype: the desired coordinate system into which to return the results,
107 * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
109 * Get the bounding box of the image displayed in a
110 * specified #AccessibleImage implementor.
114 AccessibleImage_getImageExtents (AccessibleImage *obj,
119 AccessibleCoordType ctype)
121 Accessibility_BoundingBox bbox;
122 bbox = Accessibility_Image_getImageExtents (CSPI_OBJREF (obj),
128 *height = bbox.height;