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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sp-flowtext.h b/src/sp-flowtext.h
index bd7c5990a..f56cba3cd 100644
--- a/src/sp-flowtext.h
+++ b/src/sp-flowtext.h
@@ -43,6 +43,12 @@ public:
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);
@@ -58,6 +64,7 @@ public:
virtual void remove_child(Inkscape::XML::Node* child);
virtual void set(unsigned int key, const gchar* value);
+ virtual Geom::Affine set_transform(Geom::Affine const& xform);
virtual void update(SPCtx* ctx, unsigned int flags);
virtual void modified(unsigned int flags);
@@ -66,6 +73,7 @@ public:
virtual Geom::OptRect bbox(Geom::Affine const &transform, SPItem::BBoxType type);
virtual void print(SPPrintContext *ctx);
+ virtual const char* displayName();
virtual gchar* description();
virtual Inkscape::DrawingItem* show(Inkscape::Drawing &drawing, unsigned int key, unsigned int flags);
virtual void hide(unsigned int key);