summaryrefslogtreecommitdiffstats
path: root/src/display/drawing-text.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-10-14 18:38:41 +0000
committertavmjong-free <tavmjong@free.fr>2014-10-14 18:38:41 +0000
commite056d0fa49ed5b9369c0c16c1c4df0c671b88b68 (patch)
tree1788e981f21d9b8ae27a3fb23cd7ee68c98e27f9 /src/display/drawing-text.cpp
parentImplement marker 'orient' attribute value 'auto-start-reverse'. (diff)
parentMerged hatch pdf and png export code (diff)
downloadinkscape-e056d0fa49ed5b9369c0c16c1c4df0c671b88b68.tar.gz
inkscape-e056d0fa49ed5b9369c0c16c1c4df0c671b88b68.zip
Merge hatch rendering code from Tomasz Boczkowski.
(bzr r13614)
Diffstat (limited to 'src/display/drawing-text.cpp')
-rw-r--r--src/display/drawing-text.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/display/drawing-text.cpp b/src/display/drawing-text.cpp
index 9f3b447df..cb6520bcd 100644
--- a/src/display/drawing-text.cpp
+++ b/src/display/drawing-text.cpp
@@ -445,13 +445,13 @@ unsigned DrawingText::_renderItem(DrawingContext &dc, Geom::IntRect const &/*are
Inkscape::DrawingContext::Save save(dc);
dc.transform(_ctm);
- has_fill = _nrstyle.prepareFill( dc, _item_bbox);
- has_stroke = _nrstyle.prepareStroke( dc, _item_bbox);
+ has_fill = _nrstyle.prepareFill( dc, _item_bbox, _fill_pattern);
+ has_stroke = _nrstyle.prepareStroke( dc, _item_bbox, _stroke_pattern);
// Avoid creating patterns if not needed
if( decorate ) {
- has_td_fill = _nrstyle.prepareTextDecorationFill( dc, _item_bbox);
- has_td_stroke = _nrstyle.prepareTextDecorationStroke(dc, _item_bbox);
+ has_td_fill = _nrstyle.prepareTextDecorationFill( dc, _item_bbox, _fill_pattern);
+ has_td_stroke = _nrstyle.prepareTextDecorationStroke(dc, _item_bbox, _stroke_pattern);
}
}