]> git.sur5r.net Git - glabels/commitdiff
2007-03-30 Jim Evins <evins@snaught.com>
authorJim Evins <evins@snaught.com>
Sat, 31 Mar 2007 00:51:43 +0000 (00:51 +0000)
committerJim Evins <evins@snaught.com>
Sat, 31 Mar 2007 00:51:43 +0000 (00:51 +0000)
* 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
glabels2/src/label-box.c
glabels2/src/label-ellipse.c

index 4b782be5bdfc152b270e24013fe0e204919ca0e0..cf213d919f38ed7fe70d6d196bef7c7446749c4f 100644 (file)
@@ -1,3 +1,9 @@
+2007-03-30  Jim Evins  <evins@snaught.com>
+
+       * src/label-box.c: (draw_shadow):
+       * src/label-ellipse.c: (draw_shadow):
+               Added missing shadow fill.
+       
 2007-03-28  Jim Evins  <evins@snaught.com>
 
        * src/ui-commands.c: (gl_ui_cmd_file_print):
index e2a4667248fa0078d20deab024c307956e110764..06084c3b0f81661c7ec9758537665c1e770e0441 100644 (file)
@@ -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,
index bc9f9cb3482e0e32b90fa3e2a5b4e7312bfd6842..9b955edc63d5827e9c89d5f03c1043607353e269 100644 (file)
@@ -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,