From: johanengelen Date: Sun, 8 Jun 2008 14:42:53 +0000 (+0000) Subject: use feed_pathvector_to_cairo in display/nr-arena-shape.cpp X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8329bbad58a821652df7ff859c7f306ce61affeb;p=inkscape.git use feed_pathvector_to_cairo in display/nr-arena-shape.cpp --- diff --git a/src/display/nr-arena-shape.cpp b/src/display/nr-arena-shape.cpp index 0cd0de2bb..ee1a759f2 100644 --- a/src/display/nr-arena-shape.cpp +++ b/src/display/nr-arena-shape.cpp @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include @@ -748,7 +749,7 @@ cairo_arena_shape_render_outline(cairo_t *ct, NRArenaItem *item, NR::Maybecurve), NR::Matrix(shape->ctm), area, true, 0); + feed_pathvector_to_cairo (ct, shape->curve->get_pathvector(), to_2geom(shape->ctm), area, true, 0); cairo_stroke(ct); @@ -829,7 +830,7 @@ cairo_arena_shape_render_stroke(NRArenaItem *item, NRRectL *area, NRPixBlock *pb cairo_set_tolerance(ct, 0.1); cairo_new_path(ct); - feed_curve_to_cairo (ct, SP_CURVE_BPATH(shape->curve), NR::Matrix(shape->ctm), area->upgrade(), true, style_width); + feed_pathvector_to_cairo (ct, shape->curve->get_pathvector(), to_2geom(shape->ctm), area->upgrade(), true, style_width); cairo_stroke(ct); @@ -1004,7 +1005,7 @@ cairo_arena_shape_clip(NRArenaItem *item, NRRectL *area, NRPixBlock *pb) cairo_new_path(ct); - feed_curve_to_cairo (ct, SP_CURVE_BPATH(shape->curve), NR::Matrix(shape->ctm), (area)->upgrade(), false, 0); + feed_pathvector_to_cairo (ct, shape->curve->get_pathvector(), to_2geom(shape->ctm), (area)->upgrade(), false, 0); cairo_fill(ct);