Mercurial > MadButterfly
diff 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 |
line wrap: on
line diff
--- a/src/redraw_man.c Wed Aug 06 01:10:32 2008 +0800 +++ b/src/redraw_man.c Wed Aug 06 02:11:53 2008 +0800 @@ -401,6 +401,9 @@ case SHT_TEXT: sh_text_transform(shape); break; + case SHT_RECT: + sh_rect_transform(shape); + break; #ifdef UNITTEST default: sh_dummy_transform(shape); @@ -565,6 +568,9 @@ case SHT_TEXT: sh_text_draw(shape, rdman->cr); break; + case SHT_RECT: + sh_rect_draw(shape, rdman->cr); + break; #ifdef UNITTEST default: sh_dummy_fill(shape, rdman->cr);