From 95b1c7b549605d7c6ce6623cc4cd121ed7c51a64 Mon Sep 17 00:00:00 2001 From: Jabier Arraiza Date: Sat, 3 Mar 2018 01:12:41 +0100 Subject: Base LPE refactor --- src/object/sp-shape.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/object/sp-shape.h') diff --git a/src/object/sp-shape.h b/src/object/sp-shape.h index fe9d03275..be097e390 100644 --- a/src/object/sp-shape.h +++ b/src/object/sp-shape.h @@ -39,14 +39,16 @@ public: SPShape(); virtual ~SPShape(); - SPCurve * getCurve () const; - SPCurve * getCurveBeforeLPE () const; - void setCurve (SPCurve *curve, unsigned int owner); - void setCurveInsync (SPCurve *curve, unsigned int owner); - void setCurveBeforeLPE (SPCurve *curve); + SPCurve * getCurve (unsigned int owner = FALSE) const; + SPCurve * getCurveBeforeLPE (unsigned int owner = FALSE) const; + SPCurve * getCurveForEdit (unsigned int owner = FALSE) const; + void setCurve (SPCurve *curve, unsigned int owner = TRUE); + void setCurveBeforeLPE (SPCurve *new_curve, unsigned int owner = TRUE); + void setCurveInsync (SPCurve *curve, unsigned int owner = TRUE); int hasMarkers () const; int numberOfMarkers (int type) const; + public: // temporarily public, until SPPath is properly classed, etc. SPCurve *_curve_before_lpe; SPCurve *_curve; @@ -73,6 +75,7 @@ public: virtual void snappoints(std::vector &p, Inkscape::SnapPreferences const *snapprefs) const; virtual void set_shape(); + virtual void update_patheffect(bool write); }; -- cgit v1.2.3