From 37d898fb1a29f074747dbd9c81d6e2ad97d2e23e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Fri, 10 Dec 2010 08:57:42 +0100
Subject: Change LdSymbolArea members.
Now it contains coordinates of the top-left delimiting
point and computed dimensions (instead of coorinates of
both delimiting points).
---
src/ld-symbol.h | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
(limited to 'src/ld-symbol.h')
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;
};
--
cgit v1.2.3