comparison src/redraw_man.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 50d253d0fcba
children cd6af7da32c9
comparison
equal deleted inserted replaced
259:e8a784a306d0 260:29acbd8a0dd0
794 sh_text_transform(shape); 794 sh_text_transform(shape);
795 break; 795 break;
796 case MBO_RECT: 796 case MBO_RECT:
797 sh_rect_transform(shape); 797 sh_rect_transform(shape);
798 break; 798 break;
799 case MBO_IMAGE:
800 sh_image_transform(shape);
801 break;
799 #ifdef UNITTEST 802 #ifdef UNITTEST
800 default: 803 default:
801 sh_dummy_transform(shape); 804 sh_dummy_transform(shape);
802 break; 805 break;
803 #endif /* UNITTEST */ 806 #endif /* UNITTEST */
993 case MBO_TEXT: 996 case MBO_TEXT:
994 sh_text_draw(shape, cr); 997 sh_text_draw(shape, cr);
995 break; 998 break;
996 case MBO_RECT: 999 case MBO_RECT:
997 sh_rect_draw(shape, cr); 1000 sh_rect_draw(shape, cr);
1001 break;
1002 case MBO_IMAGE:
1003 sh_image_draw(shape, cr);
998 break; 1004 break;
999 #ifdef UNITTEST 1005 #ifdef UNITTEST
1000 default: 1006 default:
1001 sh_dummy_fill(shape, cr); 1007 sh_dummy_fill(shape, cr);
1002 break; 1008 break;