Mercurial > MadButterfly
comparison src/event.c @ 260:29acbd8a0dd0
Integrate sh_image with svg2code.py.
diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png
Binary file examples/svg2code_ex/dsc_3241.png has changed
diff -r e8a784a306d0 examples/svg2code_ex/dsc_3241.png
Binary file examples/svg2code_ex/dsc_3241.png has changed
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 23 Jan 2009 23:00:23 +0800 |
parents | f08b3ba9c1d8 |
children | 6c350fc92ae3 |
comparison
equal
deleted
inserted
replaced
259:e8a784a306d0 | 260:29acbd8a0dd0 |
---|---|
532 sh_text_draw(shape, cr); | 532 sh_text_draw(shape, cr); |
533 break; | 533 break; |
534 case MBO_RECT: | 534 case MBO_RECT: |
535 sh_rect_draw(shape, cr); | 535 sh_rect_draw(shape, cr); |
536 break; | 536 break; |
537 case MBO_IMAGE: | |
538 sh_image_draw(shape, cr); | |
539 break; | |
537 } | 540 } |
538 } | 541 } |
539 | 542 |
540 static int _shape_pos_is_in_cairo(shape_t *shape, co_aix x, co_aix y, | 543 static int _shape_pos_is_in_cairo(shape_t *shape, co_aix x, co_aix y, |
541 int *in_stroke, cairo_t *cr) { | 544 int *in_stroke, cairo_t *cr) { |