Mercurial > MadButterfly
diff src/shapes.h @ 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 | e06a4a667ce2 |
children | 581a03196093 |
line wrap: on
line diff
--- a/src/shapes.h Tue Aug 05 18:28:50 2008 +0800 +++ b/src/shapes.h Wed Aug 06 00:40:04 2008 +0800 @@ -10,19 +10,14 @@ * - *_new() and *_free() * - *_transform() * - *_draw() - * - *_fill() - * - *_stroke() * - struct of shape must include an shape_t as type of first member. */ -/* TODO: remove *_fill() and *_stroke() */ extern void sh_path_free(shape_t *path); extern shape_t *sh_path_new(char *data); extern void sh_path_transform(shape_t *shape); extern void sh_path_draw(shape_t *shape, cairo_t *cr); -extern void sh_path_fill(shape_t *shape, cairo_t *cr); -extern void sh_path_stroke(shape_t *shape, cairo_t *cr); extern void sh_text_free(shape_t *text); @@ -30,8 +25,6 @@ co_aix font_size, cairo_font_face_t *face); extern void sh_text_transform(shape_t *shape); extern void sh_text_draw(shape_t *shape, cairo_t *cr); -extern void sh_text_fill(shape_t *shape, cairo_t *cr); -extern void sh_text_stroke(shape_t *shape, cairo_t *cr); #endif /* __SHAPES_H_ */