From c636971bde8a8d9676b58cc870bbbdfd527be36c Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sun, 22 Jun 2008 22:03:10 +0000 Subject: use LoadPathVector instead of LoadArtBPath everywhere (bzr r6017) --- src/display/canvas-bpath.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/display/canvas-bpath.cpp') diff --git a/src/display/canvas-bpath.cpp b/src/display/canvas-bpath.cpp index 3c46a9049..76ef54e76 100644 --- a/src/display/canvas-bpath.cpp +++ b/src/display/canvas-bpath.cpp @@ -24,6 +24,7 @@ #include #include #include +#include void nr_pixblock_render_bpath_rgba (Shape* theS,uint32_t color,NRRectL &area,char* destBuf,int stride); @@ -140,7 +141,7 @@ sp_canvas_bpath_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned i if ((cbp->fill_rgba & 0xff) || (cbp->stroke_rgba & 0xff)) { Path* thePath=new Path; - thePath->LoadArtBPath(SP_CURVE_BPATH(cbp->curve), affine, true); + thePath->LoadPathVector(cbp->curve->get_pathvector(), to_2geom(affine), true); thePath->Convert(0.25); if ((cbp->fill_rgba & 0xff) && (cbp->curve->get_length() > 2)) { Shape* theShape=new Shape; -- cgit v1.2.3