diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2010-12-10 08:57:42 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2010-12-10 08:57:42 +0100 |
commit | 37d898fb1a29f074747dbd9c81d6e2ad97d2e23e (patch) | |
tree | 1111ec9dccb2032df6bfc41b0985d606edd5ce70 /src/ld-symbol.h | |
parent | 3d3a71d5d2be1bb14a71d03a2117eb2b317ef061 (diff) | |
download | logdiag-37d898fb1a29f074747dbd9c81d6e2ad97d2e23e.tar.gz logdiag-37d898fb1a29f074747dbd9c81d6e2ad97d2e23e.tar.xz logdiag-37d898fb1a29f074747dbd9c81d6e2ad97d2e23e.zip |
Change LdSymbolArea members.
Now it contains coordinates of the top-left delimiting
point and computed dimensions (instead of coorinates of
both delimiting points).
Diffstat (limited to 'src/ld-symbol.h')
-rw-r--r-- | src/ld-symbol.h | 12 |
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; }; |