diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2011-08-27 10:20:13 +0000 |
|---|---|---|
| committer | Krzysztof Kosinski <tweenk.pl@gmail.com> | 2011-08-27 10:20:13 +0000 |
| commit | 84194ec2d0b9830437a5470320422265d5dd8c35 (patch) | |
| tree | 120f0d8dca7933dad09e455dbc4ec91f33f75029 /src/sp-shape.cpp | |
| parent | Refactor SPItem bounding box methods: remove NRRect usage and make code (diff) | |
| download | inkscape-84194ec2d0b9830437a5470320422265d5dd8c35.tar.gz inkscape-84194ec2d0b9830437a5470320422265d5dd8c35.zip | |
Remove NRRect use from the extension system
(bzr r10582.1.2)
Diffstat (limited to 'src/sp-shape.cpp')
| -rw-r--r-- | src/sp-shape.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp index 15fa76d65..8bfa99392 100644 --- a/src/sp-shape.cpp +++ b/src/sp-shape.cpp @@ -657,7 +657,8 @@ Geom::OptRect SPShape::sp_shape_bbox(SPItem const *item, Geom::Affine const &tra } static void -sp_shape_print_invoke_marker_printing(SPObject* obj, Geom::Affine tr, SPStyle* style, SPPrintContext *ctx) { +sp_shape_print_invoke_marker_printing(SPObject *obj, Geom::Affine tr, SPStyle const *style, SPPrintContext *ctx) +{ SPMarker *marker = SP_MARKER(obj); if (marker->markerUnits == SP_MARKER_UNITS_STROKEWIDTH) { tr = Geom::Scale(style->stroke_width.computed) * tr; @@ -709,11 +710,11 @@ sp_shape_print (SPItem *item, SPPrintContext *ctx) SPStyle* style = item->style; if (!style->fill.isNone()) { - sp_print_fill (ctx, pathv, &i2dt, style, pbox, dbox, bbox); + sp_print_fill (ctx, pathv, i2dt, style, pbox, dbox, bbox); } if (!style->stroke.isNone()) { - sp_print_stroke (ctx, pathv, &i2dt, style, pbox, dbox, bbox); + sp_print_stroke (ctx, pathv, i2dt, style, pbox, dbox, bbox); } /** \todo make code prettier */ |
