diff options
| author | gustav_b <gustav_b@users.sourceforge.net> | 2007-10-24 01:54:59 +0000 |
|---|---|---|
| committer | gustav_b <gustav_b@users.sourceforge.net> | 2007-10-24 01:54:59 +0000 |
| commit | b4eb737b52f0eca60cef2d3ff6b082e27f0c4a18 (patch) | |
| tree | 7ecb3351da334974262c24d22592b3cfadb114ff /src/extension/internal/pdf-cairo.cpp | |
| parent | enable color gestures for fill and stroke (diff) | |
| download | inkscape-b4eb737b52f0eca60cef2d3ff6b082e27f0c4a18.tar.gz inkscape-b4eb737b52f0eca60cef2d3ff6b082e27f0c4a18.zip | |
Use computed fill-rule value when setting fill in cairo pdf/ps export.
(bzr r3951)
Diffstat (limited to 'src/extension/internal/pdf-cairo.cpp')
| -rw-r--r-- | src/extension/internal/pdf-cairo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/internal/pdf-cairo.cpp b/src/extension/internal/pdf-cairo.cpp index e1a168c27..4baab1740 100644 --- a/src/extension/internal/pdf-cairo.cpp +++ b/src/extension/internal/pdf-cairo.cpp @@ -574,7 +574,7 @@ PrintCairoPDF::fill(Inkscape::Extension::Print *mod, NRBPath const *bpath, NRMat print_fill_style(cr, style, pbox); print_bpath(cr, bpath->path); - if (style->fill_rule.value == SP_WIND_RULE_EVENODD) { + if (style->fill_rule.computed == SP_WIND_RULE_EVENODD) { cairo_set_fill_rule(cr, CAIRO_FILL_RULE_EVEN_ODD); } else { cairo_set_fill_rule(cr, CAIRO_FILL_RULE_WINDING); |
