diff src/shape_path.c @ 30:e06a4a667ce2

Accept mouse/pointer event and hint the shape that the pointer is over. - add find_shape_at_pos()
author Thinker K.F. Li <thinker@branda.to>
date Tue, 05 Aug 2008 12:40:45 +0800
parents d50f33040de6
children d82749f77108
line wrap: on
line diff
--- a/src/shape_path.c	Mon Aug 04 21:13:32 2008 +0800
+++ b/src/shape_path.c	Tue Aug 05 12:40:45 2008 +0800
@@ -544,6 +544,10 @@
     }
 }
 
+void sh_path_draw(shape_t *shape, cairo_t *cr) {
+    sh_path_path(shape, cr);
+}
+
 void sh_path_fill(shape_t *shape, cairo_t *cr) {
     sh_path_path(shape, cr);
     cairo_fill(cr);