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/libnrtype | |
| 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/libnrtype')
| -rw-r--r-- | src/libnrtype/Layout-TNG-Output.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index fa1a07414..7e54a00e2 100644 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -136,7 +136,6 @@ void Layout::print(SPPrintContext *ctx, { if (_input_stream.empty()) return; - Geom::Affine ctm_2geom(ctm); Direction block_progression = _blockProgression(); bool text_to_path = ctx->module->textToPath(); for (unsigned glyph_index = 0 ; glyph_index < _glyphs.size() ; ) { @@ -156,9 +155,9 @@ void Layout::print(SPPrintContext *ctx, _getGlyphTransformMatrix(glyph_index, &glyph_matrix); Geom::PathVector temp_pv = (*pv) * glyph_matrix; if (!text_source->style->fill.isNone()) - sp_print_fill(ctx, temp_pv, &ctm_2geom, text_source->style, pbox, dbox, bbox); + sp_print_fill(ctx, temp_pv, ctm, text_source->style, pbox, dbox, bbox); if (!text_source->style->stroke.isNone()) - sp_print_stroke(ctx, temp_pv, &ctm_2geom, text_source->style, pbox, dbox, bbox); + sp_print_stroke(ctx, temp_pv, ctm, text_source->style, pbox, dbox, bbox); } glyph_index++; } else { |
