diff options
| author | Martin Owens <doctormo@gmail.com> | 2013-10-01 11:55:55 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2013-10-01 11:55:55 +0000 |
| commit | 1595a83d610f4e328d84eb1fc2764041ea9335db (patch) | |
| tree | 22afc9edd4274c4da250fa46f2b8cb76e7c75a52 /src | |
| parent | Minor improvements to DrawingItem code and documentation (diff) | |
| download | inkscape-1595a83d610f4e328d84eb1fc2764041ea9335db.tar.gz inkscape-1595a83d610f4e328d84eb1fc2764041ea9335db.zip | |
Revert render svg:patern segment for fill and stroke
(bzr r12646)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/drawing-shape.cpp | 4 | ||||
| -rw-r--r-- | src/display/nr-filter.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
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; |
