summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 20a8f52)
raw | patch | inline | side by side (parent: 20a8f52)
author | theadib <theadib@users.sourceforge.net> | |
Tue, 11 Sep 2007 15:37:58 +0000 (15:37 +0000) | ||
committer | theadib <theadib@users.sourceforge.net> | |
Tue, 11 Sep 2007 15:37:58 +0000 (15:37 +0000) |
src/extension/internal/emf-win32-print.cpp | patch | blob | history |
diff --git a/src/extension/internal/emf-win32-print.cpp b/src/extension/internal/emf-win32-print.cpp
index 9b1b77f160e08effff9b78c2ea28c6e1059044e5..9e76ce457c30c86266b8d33b5ad7b50960b86fe6 100644 (file)
flush_fill(); // flush any pending fills
- if (style->fill.type == SP_PAINT_TYPE_COLOR) {
+ if (style->fill.isColor()) {
create_brush(style);
} else {
// create_brush(NULL);
flush_fill(); // flush any pending fills
}
- if (style->stroke.type == SP_PAINT_TYPE_COLOR) {
+ if (style->stroke.isColor()) {
create_pen(style);
} else {
// create_pen(NULL);