comparison src/redraw_man.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 d82749f77108
children 943acee7f346
comparison
equal deleted inserted replaced
34:07c523c799f4 35:581a03196093
398 case SHT_PATH: 398 case SHT_PATH:
399 sh_path_transform(shape); 399 sh_path_transform(shape);
400 break; 400 break;
401 case SHT_TEXT: 401 case SHT_TEXT:
402 sh_text_transform(shape); 402 sh_text_transform(shape);
403 break;
404 case SHT_RECT:
405 sh_rect_transform(shape);
403 break; 406 break;
404 #ifdef UNITTEST 407 #ifdef UNITTEST
405 default: 408 default:
406 sh_dummy_transform(shape); 409 sh_dummy_transform(shape);
407 break; 410 break;
563 sh_path_draw(shape, rdman->cr); 566 sh_path_draw(shape, rdman->cr);
564 break; 567 break;
565 case SHT_TEXT: 568 case SHT_TEXT:
566 sh_text_draw(shape, rdman->cr); 569 sh_text_draw(shape, rdman->cr);
567 break; 570 break;
571 case SHT_RECT:
572 sh_rect_draw(shape, rdman->cr);
573 break;
568 #ifdef UNITTEST 574 #ifdef UNITTEST
569 default: 575 default:
570 sh_dummy_fill(shape, rdman->cr); 576 sh_dummy_fill(shape, rdman->cr);
571 break; 577 break;
572 #endif /* UNITTEST */ 578 #endif /* UNITTEST */