aboutsummaryrefslogtreecommitdiff
path: root/src/ld-symbol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ld-symbol.h')
-rw-r--r--src/ld-symbol.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ld-symbol.h b/src/ld-symbol.h
index 9eff89b..0290720 100644
--- a/src/ld-symbol.h
+++ b/src/ld-symbol.h
@@ -20,18 +20,18 @@ typedef struct _LdSymbolArea LdSymbolArea;
/**
* LdSymbolArea:
- * @x1: Left-top X coordinate.
- * @y1: Left-top Y coordinate.
- * @x2: Right-bottom X coordinate.
- * @y2: Right-bottom Y coordinate.
+ * @x: Left-top X coordinate.
+ * @y: Left-top Y coordinate.
+ * @width: Width of the area, must be positive.
+ * @height: Height of the area, must be positive.
*
* Defines the area of the symbol relative to the center of the symbol,
* which is at the (0, 0) coordinates.
*/
struct _LdSymbolArea
{
- gdouble x1, y1;
- gdouble x2, y2;
+ gdouble x, y;
+ gdouble width, height;
};