docs: Add documentation for AtkRectangle
authorAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 13 Aug 2013 10:07:22 +0000 (12:07 +0200)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 13 Aug 2013 10:07:22 +0000 (12:07 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=491998

atk/atkcomponent.h

index 49b5202..c14ac22 100755 (executable)
@@ -65,6 +65,16 @@ typedef void (*AtkFocusHandler) (AtkObject* object, gboolean focus_in);
 
 typedef struct _AtkRectangle       AtkRectangle;
 
+/**
+ * AtkRectangle:
+ * @x: X coordinate of the left side of the rectangle.
+ * @y: Y coordinate of the top side of the rectangle.
+ * @width: width of the rectangle.
+ * @height: height of the rectangle.
+ *
+ * A data structure for holding a rectangle. Those coordinates are
+ * relative to the component top-level parent.
+ */
 struct _AtkRectangle
 {
   gint x;