diff options
Diffstat (limited to 'src/object/sp-path.h')
| -rw-r--r-- | src/object/sp-path.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/object/sp-path.h b/src/object/sp-path.h index 572fd648d..0530a396a 100644 --- a/src/object/sp-path.h +++ b/src/object/sp-path.h @@ -18,6 +18,7 @@ #include "sp-shape.h" #include "sp-conn-end-pair.h" +#include "style-internal.h" // For SPStyleSrc class SPCurve; @@ -47,19 +48,22 @@ public: // should be made protected public: SPConnEndPair connEndPair; - virtual void build(SPDocument *document, Inkscape::XML::Node *repr); - virtual void release(); - virtual void update(SPCtx* ctx, unsigned int flags); + virtual void build(SPDocument *document, Inkscape::XML::Node *repr); + virtual void release(); + virtual void update(SPCtx* ctx, unsigned int flags); - virtual void set(unsigned int key, char const* value); - virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags); + virtual void set(unsigned int key, char const* value); + virtual Inkscape::XML::Node* write(Inkscape::XML::Document *xml_doc, Inkscape::XML::Node *repr, unsigned int flags); - virtual const char* displayName() const; - virtual char* description() const; - virtual Geom::Affine set_transform(Geom::Affine const &transform); + virtual const char* displayName() const; + virtual char* description() const; + virtual Geom::Affine set_transform(Geom::Affine const &transform); virtual void convert_to_guides() const; virtual void update_patheffect(bool write); + +private: + SPStyleSrc d_source; // Source of 'd' value, saved for output. }; #endif // SEEN_SP_PATH_H |
