summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0a965e9)
raw | patch | inline | side by side (parent: 0a965e9)
author | mental <mental@users.sourceforge.net> | |
Fri, 10 Nov 2006 03:26:36 +0000 (03:26 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Fri, 10 Nov 2006 03:26:36 +0000 (03:26 +0000) |
src/extension/internal/pdf-cairo.cpp | patch | blob | history |
index 2b7fd1381bfb73e0101953e717fc8a8485207a78..0b500864d14c189b1a9bab81a4b0adcac55adae5 100644 (file)
@@ -497,12 +497,12 @@ PrintCairoPDF::create_pattern_for_paint(SPPaintServer const *const paintserver,
case SP_GRADIENT_SPREAD_REPEAT:
cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REPEAT);
break;
- case SP_GRADIENT_SPREAD_REFLECT: // not supported by cairo-pdf yet
- //cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REFLECT);
- //break;
+ case SP_GRADIENT_SPREAD_REFLECT:
+ cairo_pattern_set_extend(pattern, CAIRO_EXTEND_REFLECT);
+ break;
case SP_GRADIENT_SPREAD_PAD:
default:
- cairo_pattern_set_extend(pattern, CAIRO_EXTEND_NONE); // PAD not supported by cairo-pdf yet
+ cairo_pattern_set_extend(pattern, CAIRO_EXTEND_PAD);
break;
}