From 16888ce63e21b83d94595055150072ef3037ca1d Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Mon, 10 Sep 2007 06:33:47 +0000 Subject: Purged fill type enum (bzr r3706) --- src/libnrtype/Layout-TNG-Output.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libnrtype') diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index 68d7752c3..21d8c8e48 100755 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -158,9 +158,9 @@ void Layout::print(SPPrintContext *ctx, NRBPath abp; _getGlyphTransformMatrix(glyph_index, &glyph_matrix); abp.path = nr_artpath_affine(bpath.path, glyph_matrix); - if (text_source->style->fill.type != SP_PAINT_TYPE_NONE) + if (!text_source->style->fill.isNone()) sp_print_fill(ctx, &abp, &ctm, text_source->style, pbox, dbox, bbox); - if (text_source->style->stroke.type != SP_PAINT_TYPE_NONE) + if (!text_source->style->stroke.isNone()) sp_print_stroke(ctx, &abp, &ctm, text_source->style, pbox, dbox, bbox); g_free(abp.path); } -- cgit v1.2.3