comparison src/event.c @ 35:581a03196093

Support rectangle tag of SVG. - Change rectangle in X_main to sh_rect_t.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 06 Aug 2008 02:11:53 +0800
parents 69c8e264890d
children 92cfabe22d6b
comparison
equal deleted inserted replaced
34:07c523c799f4 35:581a03196093
76 sh_path_draw(shape, cr); 76 sh_path_draw(shape, cr);
77 break; 77 break;
78 case SHT_TEXT: 78 case SHT_TEXT:
79 sh_text_draw(shape, cr); 79 sh_text_draw(shape, cr);
80 break; 80 break;
81 case SHT_RECT:
82 sh_rect_draw(shape, cr);
83 break;
81 } 84 }
82 } 85 }
83 86
84 static geo_t *find_pos_in_geo(redraw_man_t *rdman, 87 static geo_t *find_pos_in_geo(redraw_man_t *rdman,
85 co_aix x, co_aix y, int *in_stroke) { 88 co_aix x, co_aix y, int *in_stroke) {