Mercurial > MadButterfly
comparison src/shape_path.c @ 20:74d3d5dc9aaa
rename XXX_draw() to XXX_fill()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 02 Aug 2008 15:46:26 +0800 |
parents | 41f0907b27ac |
children | 8fcf2d878ecd |
comparison
equal
deleted
inserted
replaced
19:cf6d65398619 | 20:74d3d5dc9aaa |
---|---|
415 poses = (co_aix (*)[2])(path->dev_data + path->cmd_len); | 415 poses = (co_aix (*)[2])(path->dev_data + path->cmd_len); |
416 geo_from_positions(path->shape.geo, arg_len / 2, poses); | 416 geo_from_positions(path->shape.geo, arg_len / 2, poses); |
417 } | 417 } |
418 } | 418 } |
419 | 419 |
420 void sh_path_draw(shape_t *shape, cairo_t *cr) { | 420 void sh_path_fill(shape_t *shape, cairo_t *cr) { |
421 sh_path_t *path; | 421 sh_path_t *path; |
422 int cmd_len; | 422 int cmd_len; |
423 char *cmds, cmd; | 423 char *cmds, cmd; |
424 co_aix *args; | 424 co_aix *args; |
425 co_aix x, y, x1, y1, x2, y2; | 425 co_aix x, y, x1, y1, x2, y2; |