diff src/shape_text.c @ 33:d82749f77108

Fix bug of demo and remove *_fill() and *_stroke(). - logical error in X_main.c.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 06 Aug 2008 00:40:04 +0800
parents da770188a44d
children 1ca417f741f1
line wrap: on
line diff
--- a/src/shape_text.c	Tue Aug 05 18:28:50 2008 +0800
+++ b/src/shape_text.c	Wed Aug 06 00:40:04 2008 +0800
@@ -137,17 +137,3 @@
     draw_text((sh_text_t *)shape, cr);
 }
 
-void sh_text_fill(shape_t *shape, cairo_t *cr) {
-    sh_text_t *text = (sh_text_t *)shape;
-
-    draw_text(text, cr);
-    cairo_fill(cr);
-}
-
-
-void sh_text_stroke(shape_t *shape, cairo_t *cr) {
-    sh_text_t *text = (sh_text_t *)shape;
-
-    draw_text(text, cr);
-    cairo_stroke(cr);
-}