diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-12 15:21:12 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-12 15:21:12 +0000 |
| commit | e93821409140f74f3c27b3f8a42bda8b16dd4dfe (patch) | |
| tree | 22b89b397781a11e95c256008b6a0bc03315ba02 /src/sp-shape.cpp | |
| parent | enable writing "H/h" and "V/v" to SVG ! (diff) | |
| download | inkscape-e93821409140f74f3c27b3f8a42bda8b16dd4dfe.tar.gz inkscape-e93821409140f74f3c27b3f8a42bda8b16dd4dfe.zip | |
2geomify print, fill and stroke methods of extensions
(bzr r6274)
Diffstat (limited to 'src/sp-shape.cpp')
| -rw-r--r-- | src/sp-shape.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 9a0ee1fd7..91d7dd5f8 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -613,15 +613,11 @@ sp_shape_print (SPItem *item, SPPrintContext *ctx) SPStyle* style = SP_OBJECT_STYLE (item); if (!style->fill.isNone()) { - const_NRBPath bp; - bp.path = shape->curve->get_bpath(); - sp_print_fill (ctx, &bp, &i2d, style, &pbox, &dbox, &bbox); + sp_print_fill (ctx, shape->curve->get_pathvector(), &i2d, style, &pbox, &dbox, &bbox); } if (!style->stroke.isNone()) { - const_NRBPath bp; - bp.path = shape->curve->get_bpath(); - sp_print_stroke (ctx, &bp, &i2d, style, &pbox, &dbox, &bbox); + sp_print_stroke (ctx, shape->curve->get_pathvector(), &i2d, style, &pbox, &dbox, &bbox); } /* TODO: make code prettier: lots of variables can be taken out of the loop! */ |
