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);
19 * AccessibleImage_unref:
20 * @obj: a pointer to the #AccessibleImage implementor on which to operate.
22 * Decrement the reference count for an #AccessibleImage object.
24 * Returns: (no return code implemented yet).
28 AccessibleImage_unref (AccessibleImage *obj)
30 cspi_object_unref (obj);
35 * AccessibleImage_getImageDescription:
36 * @obj: a pointer to the #AccessibleImage implementor on which to operate.
38 * Get the description of the image displayed in an #AccessibleImage object.
40 * Returns: a UTF-8 string describing the image.
44 AccessibleImage_getImageDescription (AccessibleImage *obj)
47 Accessibility_Image__get_imageDescription (CSPI_OBJREF (obj), cspi_ev ());
53 * AccessibleImage_getImageSize:
54 * @obj: a pointer to the #AccessibleImage to query.
55 * @width: a pointer to a #long into which the x extents (width) will be returned.
56 * @height: a pointer to a #long into which the y extents (height) will be returned.
58 * Get the size of the image displayed in a specified #AccessibleImage object.
62 AccessibleImage_getImageSize (AccessibleImage *obj,
66 Accessibility_Image_getImageSize (CSPI_OBJREF (obj),
67 (CORBA_long *) width, (CORBA_long *) height, cspi_ev ());
73 * AccessibleImage_getImagePosition:
74 * @obj: a pointer to the #AccessibleImage implementor to query.
75 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
76 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
77 * @ctype: the desired coordinate system into which to return the results,
78 * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
80 * Get the minimum x and y coordinates of the image displayed in a
81 * specified #AccessibleImage implementor.
85 AccessibleImage_getImagePosition (AccessibleImage *obj,
88 AccessibleCoordType ctype)
90 Accessibility_Image_getImagePosition (CSPI_OBJREF (obj),
91 (CORBA_long *) x, (CORBA_long *) y, (CORBA_short) ctype,
96 * AccessibleImage_getImageExtents:
97 * @obj: a pointer to the #AccessibleImage implementor to query.
98 * @x: a pointer to a #long into which the minimum x coordinate will be returned.
99 * @y: a pointer to a #long into which the minimum y coordinate will be returned.
100 * @width: a pointer to a #long into which the image x extent will be returned.
101 * @height: a pointer to a #long into which the image y extent will be returned.
102 * @ctype: the desired coordinate system into which to return the results,
103 * (e.g. SPI_COORD_TYPE_WINDOW, SPI_COORD_TYPE_SCREEN).
105 * Get the bounding box of the image displayed in a
106 * specified #AccessibleImage implementor.
110 AccessibleImage_getImageExtents (AccessibleImage *obj,
115 AccessibleCoordType ctype)
117 Accessibility_BoundingBox bbox;
118 bbox = Accessibility_Image_getImageExtents (CSPI_OBJREF (obj),
124 *height = bbox.height;