diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2012-01-17 20:25:50 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2012-01-17 20:25:50 +0000 |
| commit | cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19 (patch) | |
| tree | fb8985008fda43525f296bc50584d8d4abc3d5dc /src/sp-shape.cpp | |
| parent | change pencil tool dropdown shapes to use powerstroke, instead of pattern alo... (diff) | |
| download | inkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.tar.gz inkscape-cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19.zip | |
turn SPPath into a class, and add some methods...
(bzr r10897)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-shape.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 5fd33bef7..b946e52ce 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -1065,7 +1065,7 @@ SPShape::setCurveBeforeLPE (SPCurve *curve) /** * Return duplicate of curve (if any exists) or NULL if there is no curve */ -SPCurve * SPShape::getCurve() +SPCurve * SPShape::getCurve() const { if (this->curve) { return this->curve->copy(); @@ -1076,8 +1076,7 @@ SPCurve * SPShape::getCurve() /** * Return duplicate of curve *before* LPE (if any exists) or NULL if there is no curve */ -SPCurve * -SPShape::getCurveBeforeLPE() +SPCurve * SPShape::getCurveBeforeLPE() const { if (sp_lpe_item_has_path_effect(SP_LPE_ITEM(this))) { if (this->curve_before_lpe) { |
