summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b11b6fe)
raw | patch | inline | side by side (parent: b11b6fe)
author | miklosh <miklosh@users.sourceforge.net> | |
Thu, 3 Jan 2008 13:54:35 +0000 (13:54 +0000) | ||
committer | miklosh <miklosh@users.sourceforge.net> | |
Thu, 3 Jan 2008 13:54:35 +0000 (13:54 +0000) |
src/extension/internal/cairo-render-context.cpp | patch | blob | history |
diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp
index b3b025cfb4655839f1ba3c842b3abccaf7596de2..c92dd04bf95c7383924a6f725f09aff0c561dd3d 100644 (file)
@@ -1431,14 +1431,14 @@ CairoRenderContext::renderGlyphtext(PangoFont *font, NRMatrix const *font_matrix
}
} else {
- if (style->fill.type == SP_PAINT_TYPE_COLOR || style->fill.type == SP_PAINT_TYPE_PAINTSERVER) {
+ if (style->fill.isColor() || style->fill.isPaintserver()) {
// set fill style
_setFillStyle(style, NULL);
_showGlyphs(_cr, font, glyphtext, FALSE);
}
- if (style->stroke.type == SP_PAINT_TYPE_COLOR || style->stroke.type == SP_PAINT_TYPE_PAINTSERVER) {
+ if (style->stroke.isColor() || style->stroke.isPaintserver()) {
// set stroke style
_setStrokeStyle(style, NULL);