summaryrefslogtreecommitdiffstats
path: root/src/sp-text.h
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-07-30 08:31:31 +0000
committertavmjong-free <tavmjong@free.fr>2014-07-30 08:31:31 +0000
commitb7ebc313abd7f6aa501370d58ba54e6169e4218e (patch)
tree779a7b4b4f1cce041cffd987d530e4222f930ebe /src/sp-text.h
parentFix a bug pointed by su_v on fillet-chamfer open paths (diff)
downloadinkscape-b7ebc313abd7f6aa501370d58ba54e6169e4218e.tar.gz
inkscape-b7ebc313abd7f6aa501370d58ba54e6169e4218e.zip
Read CSS Text 3 'white-space' property, SVG 2 <text> 'width', 'height' attributes.
(bzr r13341.1.110)
Diffstat (limited to 'src/sp-text.h')
-rw-r--r--src/sp-text.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sp-text.h b/src/sp-text.h
index 5f0485083..b9ae745c9 100644
--- a/src/sp-text.h
+++ b/src/sp-text.h
@@ -45,7 +45,11 @@ public:
//semiprivate: (need to be accessed by the C-style functions still)
TextTagAttributes attributes;
Inkscape::Text::Layout layout;
-
+
+ // SVG 2 Auto-wrapped text
+ SVGLength width;
+ SVGLength height;
+
/** when the object is transformed it's nicer to change the font size
and coordinates when we can, rather than just applying a matrix
transform. is_root is used to indicate to the function that it should