comparison 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
comparison
equal deleted inserted replaced
29:f56c96b035a8 30:e06a4a667ce2
542 break; 542 break;
543 } 543 }
544 } 544 }
545 } 545 }
546 546
547 void sh_path_draw(shape_t *shape, cairo_t *cr) {
548 sh_path_path(shape, cr);
549 }
550
547 void sh_path_fill(shape_t *shape, cairo_t *cr) { 551 void sh_path_fill(shape_t *shape, cairo_t *cr) {
548 sh_path_path(shape, cr); 552 sh_path_path(shape, cr);
549 cairo_fill(cr); 553 cairo_fill(cr);
550 } 554 }
551 555