Mercurial > MadButterfly
diff src/shape_path.c @ 6:772511b8b9be
Cairo specify RGB values in range 0.0 ~ 1.0.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 26 Jul 2008 02:41:00 +0800 |
parents | 9c331ec9e210 |
children | 569f3168ba53 |
line wrap: on
line diff
--- a/src/shape_path.c Sat Jul 26 01:37:35 2008 +0800 +++ b/src/shape_path.c Sat Jul 26 02:41:00 2008 +0800 @@ -186,6 +186,7 @@ while(*p) { SKIP_SPACE(p); + /* TODO: transform all relative to absolute, */ *cmds++ = *p; switch(*p++) { case 'c': @@ -486,6 +487,8 @@ break; } } + + cairo_fill(cr); } #ifdef UNITTEST