Mercurial > MadButterfly
diff src/redraw_man.c @ 27:19c603dd6ff9
Add text shape.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 04 Aug 2008 10:10:47 +0800 |
parents | d50f33040de6 |
children | 604bc90d509d |
line wrap: on
line diff
--- a/src/redraw_man.c Sun Aug 03 13:04:55 2008 +0800 +++ b/src/redraw_man.c Mon Aug 04 10:10:47 2008 +0800 @@ -98,6 +98,9 @@ case SHT_PATH: sh_path_transform(shape); break; + case SHT_TEXT: + sh_text_transform(shape); + break; #ifdef UNITTEST default: sh_dummy_transform(shape); @@ -483,6 +486,9 @@ case SHT_PATH: sh_path_fill(shape, rdman->cr); break; + case SHT_TEXT: + sh_text_fill(shape, rdman->cr); + break; #ifdef UNITTEST default: sh_dummy_fill(shape, rdman->cr); @@ -498,6 +504,9 @@ case SHT_PATH: sh_path_stroke(shape, rdman->cr); break; + case SHT_TEXT: + sh_text_stroke(shape, rdman->cr); + break; #ifdef UNITTEST default: /* sh_dummy_fill(shape, rdman->cr); */