From 6bbb9c3c43d7fab9e54b6557c96999257a79b080 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 11 Jul 2008 16:28:14 +0000 Subject: use new 2geom function. This ensures we cannot end up in infinite loop while converting unexpected 2geom curve types to expected types. (bzr r6260) --- src/display/inkscape-cairo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display/inkscape-cairo.cpp') diff --git a/src/display/inkscape-cairo.cpp b/src/display/inkscape-cairo.cpp index b67ac1311..069727064 100644 --- a/src/display/inkscape-cairo.cpp +++ b/src/display/inkscape-cairo.cpp @@ -219,7 +219,7 @@ feed_curve_to_cairo(cairo_t *cr, Geom::Curve const &c, Geom::Matrix & trans, Geo // } else { //this case handles sbasis as well as all other curve types - Geom::Path sbasis_path = path_from_sbasis(c.toSBasis(), 0.1); + Geom::Path sbasis_path = Geom::cubicbezierpath_from_sbasis(c.toSBasis(), 0.1); //recurse to convert the new path resulting from the sbasis to svgd for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) { -- cgit v1.2.3