From 1595a83d610f4e328d84eb1fc2764041ea9335db Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Tue, 1 Oct 2013 07:55:55 -0400 Subject: Revert render svg:patern segment for fill and stroke (bzr r12646) --- src/display/drawing-shape.cpp | 4 ++-- src/display/nr-filter.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/display/drawing-shape.cpp b/src/display/drawing-shape.cpp index e689d0755..9ad18243e 100644 --- a/src/display/drawing-shape.cpp +++ b/src/display/drawing-shape.cpp @@ -179,8 +179,8 @@ DrawingShape::_renderItem(DrawingContext &ct, Geom::IntRect const &area, unsigne // update fill and stroke paints. // this cannot be done during nr_arena_shape_update, because we need a Cairo context // to render svg:pattern - has_fill = _nrstyle.prepareFill(ct, _bbox); - has_stroke = _nrstyle.prepareStroke(ct, _bbox); + has_fill = _nrstyle.prepareFill(ct, _filter_bbox); + has_stroke = _nrstyle.prepareStroke(ct, _filter_bbox); has_stroke &= (_nrstyle.stroke_width != 0); if (has_fill || has_stroke) { diff --git a/src/display/nr-filter.cpp b/src/display/nr-filter.cpp index c0044c5d8..1289362aa 100644 --- a/src/display/nr-filter.cpp +++ b/src/display/nr-filter.cpp @@ -114,7 +114,7 @@ int Filter::render(Inkscape::DrawingItem const *item, DrawingContext &graphic, D Geom::Affine trans = item->ctm(); - // Get filter are, the filter_effect_area is already done in visualBounds + // Get filter area, the filter_effect_area is already done in visualBounds Geom::OptRect filter_area = item->filterBounds(); // Use the geometricBounds as a backup solution if (!filter_area) return 1; -- cgit v1.2.3