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-conn-end-pair.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 'src/sp-conn-end-pair.cpp')
| -rw-r--r-- | src/sp-conn-end-pair.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-conn-end-pair.cpp b/src/sp-conn-end-pair.cpp index fa01dc2d8..17e9e7397 100644 --- a/src/sp-conn-end-pair.cpp +++ b/src/sp-conn-end-pair.cpp @@ -214,7 +214,7 @@ SPConnEndPair::getAttachedItems(SPItem *h2attItem[2]) const { void SPConnEndPair::getEndpoints(Geom::Point endPts[]) const { - SPCurve const *curve = sp_path_get_curve_reference(_path); + SPCurve const *curve = _path->get_curve_reference(); SPItem *h2attItem[2] = {0}; getAttachedItems(h2attItem); Geom::Affine i2d = _path->i2doc_affine(); @@ -403,7 +403,7 @@ SPConnEndPair::reroutePathFromLibavoid(void) return false; } - SPCurve *curve = sp_path_get_curve(_path); + SPCurve *curve = _path->get_curve(); recreateCurve( curve, _connRef, _connCurvature ); |
