summaryrefslogtreecommitdiffstats
path: root/src/sp-flowtext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-flowtext.h')
-rw-r--r--src/sp-flowtext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sp-flowtext.h b/src/sp-flowtext.h
index 944503a1e..6857f5760 100644
--- a/src/sp-flowtext.h
+++ b/src/sp-flowtext.h
@@ -43,6 +43,12 @@ struct SPFlowtext : public SPItem {
double par_indent;
+ bool _optimizeScaledText;
+
+ /** Optimize scaled flow text on next set_transform. */
+ void optimizeScaledText()
+ {_optimizeScaledText = true;}
+
private:
/** Recursively walks the xml tree adding tags and their contents. */
void _buildLayoutInput(SPObject *root, Shape const *exclusion_shape, std::list<Shape> *shapes, SPObject **pending_line_break_object);