diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-12 20:20:51 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-12 20:20:51 +0000 |
| commit | 21f04a292dafc2cfd1374609720c458124c5b9a4 (patch) | |
| tree | 1a38adb5df88eb36bafb6d055b55faf6b0d69cba /src/sp-path.cpp | |
| parent | update 2geom (diff) | |
| download | inkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.tar.gz inkscape-21f04a292dafc2cfd1374609720c458124c5b9a4.zip | |
change NR::Matrix to Geom:: for many sp_item_xxx_affine functions
(bzr r5915)
Diffstat (limited to 'src/sp-path.cpp')
| -rw-r--r-- | src/sp-path.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp index 173e44440..16c8b85f4 100644 --- a/src/sp-path.cpp +++ b/src/sp-path.cpp @@ -148,7 +148,7 @@ sp_path_convert_to_guides(SPItem *item) SPDocument *doc = SP_OBJECT_DOCUMENT(path); std::list<std::pair<Geom::Point, Geom::Point> > pts; - NR::Matrix const i2d (sp_item_i2d_affine(SP_ITEM(path))); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine(SP_ITEM(path)))); SPCurve *curve = SP_SHAPE(path)->curve; if (!curve) return; @@ -514,7 +514,7 @@ void freehand_create_single_dot(SPEventContext *ec, NR::Point const &pt, char co /* put the circle where the mouse click occurred and set the diameter to the current stroke width, multiplied by the amount specified in the preferences */ - NR::Matrix const i2d (sp_item_i2d_affine (item)); + NR::Matrix const i2d (from_2geom(sp_item_i2d_affine (item))); NR::Point pp = pt * i2d; double rad = 0.5 * prefs_get_double_attribute(tool, "dot-size", 3.0); if (event_state & GDK_MOD1_MASK) { |
