summaryrefslogtreecommitdiffstats
path: root/src/display/canvas-text.h
diff options
context:
space:
mode:
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;