summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: adcdea2)
raw | patch | inline | side by side (parent: adcdea2)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 11 Jul 2008 16:28:14 +0000 (16:28 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 11 Jul 2008 16:28:14 +0000 (16:28 +0000) |
src/display/inkscape-cairo.cpp | patch | blob | history | |
src/helper/geom.cpp | patch | blob | history | |
src/livarot/PathCutting.cpp | patch | blob | history | |
src/svg/svg-path.cpp | patch | blob | history |
index b67ac1311cb703d229ff472e768a30cb5c738872..0697270648960f21cfba4b828413c25ed353f1fe 100644 (file)
@@ -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) {
diff --git a/src/helper/geom.cpp b/src/helper/geom.cpp
index 34195be1584d06e416b4b0f2fd3116d64b0b658e..39dd2414aafa097d73961f873bed1850d5e9c774 100644 (file)
--- a/src/helper/geom.cpp
+++ b/src/helper/geom.cpp
p0 = p3;
} else {
//this case handles sbasis as well as all other curve types
- Geom::Path sbasis_path = Geom::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) {
index 2c3240eba04192810609c7bd41a52e9b097b07fb..5aa77c1e54abe81bad613bffcf27e14723a871a6 100644 (file)
svg_elliptical_arc->large_arc_flag(), svg_elliptical_arc->sweep_flag() );
} else {
//this case handles sbasis as well as all other curve types
- Geom::Path sbasis_path = Geom::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) {
diff --git a/src/svg/svg-path.cpp b/src/svg/svg-path.cpp
index 9c305eebe66b9f695f6c1c6c0b47f3ae644f4b8f..1ab70d10177a3ae1cd948c4f3d80196918c2e951 100644 (file)
--- a/src/svg/svg-path.cpp
+++ b/src/svg/svg-path.cpp
@@ -760,7 +760,7 @@ static void sp_svg_write_curve(Inkscape::SVG::PathString & str, Geom::Curve cons
str.verticalLineTo( ... ); */
} else {
//this case handles sbasis as well as all other curve types
- Geom::Path sbasis_path = Geom::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) {