diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-04 16:10:37 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-04 16:10:37 +0000 |
| commit | acd8f135f2a901c5f046e51ad7783e442c43997a (patch) | |
| tree | 12418cabb430ca8041c12e7c3d014185c4b4541b /src/knot-holder-entity.h | |
| parent | Exporting. Fix for bug #1350897 (XAML export formats numbers in the top-level... (diff) | |
| download | inkscape-acd8f135f2a901c5f046e51ad7783e442c43997a.tar.gz inkscape-acd8f135f2a901c5f046e51ad7783e442c43997a.zip | |
Allow editing of fill and stroke patterns simultaneously. Fixes #601336, #604025, #486192
Fixed bugs:
- https://launchpad.net/bugs/601336
- https://launchpad.net/bugs/604025
- https://launchpad.net/bugs/486192
(bzr r13489)
Diffstat (limited to 'src/knot-holder-entity.h')
| -rw-r--r-- | src/knot-holder-entity.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/knot-holder-entity.h b/src/knot-holder-entity.h index a9268d396..dde60f515 100644 --- a/src/knot-holder-entity.h +++ b/src/knot-holder-entity.h @@ -101,20 +101,30 @@ protected: class PatternKnotHolderEntityXY : public KnotHolderEntity { public: + PatternKnotHolderEntityXY(bool fill) : KnotHolderEntity(), _fill(fill) {} virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); +private: + // true if the entity tracks fill, false for stroke + bool _fill; }; class PatternKnotHolderEntityAngle : public KnotHolderEntity { public: + PatternKnotHolderEntityAngle(bool fill) : KnotHolderEntity(), _fill(fill) {} virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); +private: + bool _fill; }; class PatternKnotHolderEntityScale : public KnotHolderEntity { public: + PatternKnotHolderEntityScale(bool fill) : KnotHolderEntity(), _fill(fill) {} virtual Geom::Point knot_get() const; virtual void knot_set(Geom::Point const &p, Geom::Point const &origin, guint state); +private: + bool _fill; }; #endif /* !SEEN_KNOT_HOLDER_ENTITY_H */ |
