summaryrefslogtreecommitdiffstats
path: root/ganv/box.h
diff options
context:
space:
mode:
Diffstat (limited to 'ganv/box.h')
-rw-r--r--ganv/box.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/ganv/box.h b/ganv/box.h
index 84fcb8a..f97788f 100644
--- a/ganv/box.h
+++ b/ganv/box.h
@@ -36,6 +36,11 @@ struct _GanvBox
GanvBoxImpl* impl;
};
+/**
+ * GanvBoxClass:
+ * @set_width: Set the width of the box.
+ * @set_height: Set the height of the box.
+ */
struct _GanvBoxClass {
GanvNodeClass parent_class;
@@ -57,8 +62,13 @@ double ganv_box_get_height(const GanvBox* box);
void ganv_box_set_height(GanvBox* box, double height);
double ganv_box_get_border_width(const GanvBox* box);
-void
-ganv_box_normalize(GanvBox* box);
+/**
+ * ganv_box_normalize:
+ * @box: The box to normalize.
+ *
+ * Normalize the box coordinates such that x1 < x2 and y1 < y2.
+ */
+void ganv_box_normalize(GanvBox* box);
G_END_DECLS