summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-text.h
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2012-01-04 21:08:05 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2012-01-04 21:08:05 +0000
commit2b4fe13c76964f5782a4e350b01acbd59aca3145 (patch)
treeb2cee3c40b7fba20966943ecd013ddee4ce057e6 /src/display/canvas-text.h
parentnew: add nodes at extreme values of selected subpaths (diff)
downloadinkscape-2b4fe13c76964f5782a4e350b01acbd59aca3145.tar.gz
inkscape-2b4fe13c76964f5782a4e350b01acbd59aca3145.zip
Final fix for CanvasText alignment bugs
(bzr r10840)
Diffstat (limited to 'src/display/canvas-text.h')
-rw-r--r--src/display/canvas-text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/display/canvas-text.h b/src/display/canvas-text.h
index d21a08dbd..4a7e4f16c 100644
--- a/src/display/canvas-text.h
+++ b/src/display/canvas-text.h
@@ -40,12 +40,12 @@ struct SPCanvasText : public SPCanvasItem {
bool outline;
bool background;
double border;
- CanvasTextAnchorPositionEnum anchor_position;
SPDesktop *desktop; // the desktop to which this text is attached; needed for coordinate transforms (TODO: these should be eliminated)
gchar* text;
- Geom::Point s;
+ Geom::Point s; // Is the coordinate of the anchor, which is related to the rectangle filled with the background color
+ CanvasTextAnchorPositionEnum anchor_position; // The anchor position specifies where the anchor is with respect to the rectangle filled with the background color
Geom::Affine affine;
double fontsize;
double anchor_offset_x;