diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-15 00:00:48 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-15 00:00:48 +0000 |
| commit | cee9108e6e879314d3eb910d59a7308d550943b0 (patch) | |
| tree | 1637149cc91944788e6241a7d2dce7559cc85928 /src/extension/internal/pdf-cairo.cpp | |
| parent | make SPCurve constructors explicit. (so e.g. it is impossible to write SPCurv... (diff) | |
| download | inkscape-cee9108e6e879314d3eb910d59a7308d550943b0.tar.gz inkscape-cee9108e6e879314d3eb910d59a7308d550943b0.zip | |
don't call cairo_new_path in feed_pathvector_to_cairo (like the old feed_path_to_cairo didn't do)
(bzr r6311)
Diffstat (limited to 'src/extension/internal/pdf-cairo.cpp')
| -rw-r--r-- | src/extension/internal/pdf-cairo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extension/internal/pdf-cairo.cpp b/src/extension/internal/pdf-cairo.cpp index bd1f2433c..0ff571275 100644 --- a/src/extension/internal/pdf-cairo.cpp +++ b/src/extension/internal/pdf-cairo.cpp @@ -599,6 +599,7 @@ PrintCairoPDF::fill(Inkscape::Extension::Print *mod, Geom::PathVector const &pat print_fill_style(cr, style, pbox); + cairo_new_path(cr); feed_pathvector_to_cairo(cr, pathv); if (style->fill_rule.computed == SP_WIND_RULE_EVENODD) { @@ -697,6 +698,7 @@ PrintCairoPDF::stroke(Inkscape::Extension::Print *mod, Geom::PathVector const &p cairo_save(cr); + cairo_new_path(cr); print_stroke_style(cr, style, pbox); feed_pathvector_to_cairo(cr, pathv); |
