From 2bc6be422a9c43e13323282eac6561a1dc0a040a Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 31 Mar 2007 00:51:43 +0000 Subject: [PATCH] 2007-03-30 Jim Evins * src/label-box.c: (draw_shadow): * src/label-ellipse.c: (draw_shadow): Added missing shadow fill. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@644 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/ChangeLog | 6 ++++++ glabels2/src/label-box.c | 1 + glabels2/src/label-ellipse.c | 1 + 3 files changed, 8 insertions(+) diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 4b782be5..cf213d91 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,9 @@ +2007-03-30 Jim Evins + + * src/label-box.c: (draw_shadow): + * src/label-ellipse.c: (draw_shadow): + Added missing shadow fill. + 2007-03-28 Jim Evins * src/ui-commands.c: (gl_ui_cmd_file_print): diff --git a/glabels2/src/label-box.c b/glabels2/src/label-box.c index e2a46672..06084c3b 100644 --- a/glabels2/src/label-box.c +++ b/glabels2/src/label-box.c @@ -397,6 +397,7 @@ draw_shadow (glLabelObject *object, GL_COLOR_F_GREEN (shadow_fill_color), GL_COLOR_F_BLUE (shadow_fill_color), GL_COLOR_F_ALPHA (shadow_fill_color)); + cairo_fill_preserve (cr); /* Draw outline shadow */ cairo_set_source_rgba (cr, diff --git a/glabels2/src/label-ellipse.c b/glabels2/src/label-ellipse.c index bc9f9cb3..9b955edc 100644 --- a/glabels2/src/label-ellipse.c +++ b/glabels2/src/label-ellipse.c @@ -402,6 +402,7 @@ draw_shadow (glLabelObject *object, GL_COLOR_F_GREEN (shadow_fill_color), GL_COLOR_F_BLUE (shadow_fill_color), GL_COLOR_F_ALPHA (shadow_fill_color)); + cairo_fill_preserve (cr); /* Draw outline shadow */ cairo_set_source_rgba (cr, -- 2.39.5