From: miklosh Date: Thu, 3 Jan 2008 13:54:35 +0000 (+0000) Subject: Purged fill type enum X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e23bc929f63c746150ffbf7449960d8b206148ca;p=inkscape.git Purged fill type enum --- diff --git a/src/extension/internal/cairo-render-context.cpp b/src/extension/internal/cairo-render-context.cpp index b3b025cfb..c92dd04bf 100644 --- a/src/extension/internal/cairo-render-context.cpp +++ b/src/extension/internal/cairo-render-context.cpp @@ -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);