X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fgfxtools.h;h=005839773b8b64039d78c35963b88cd1218def49;hb=e0db864fa0f2b31e00c46c29d74e47c4a29b3001;hp=aa787fbef390fa71daedbeda2a0c30dfde3b9eb0;hpb=50edd3bb0093193fc1a861acbd8ccc055fc120c0;p=swftools.git diff --git a/lib/gfxtools.h b/lib/gfxtools.h index aa787fb..0058397 100644 --- a/lib/gfxtools.h +++ b/lib/gfxtools.h @@ -48,13 +48,14 @@ typedef struct _gfxpoint void gfxdrawer_target_gfxline(gfxdrawer_t*d); -void gfxtool_draw_dashed_line(gfxdrawer_t*d, gfxline_t*line, float*dashes); -gfxline_t* gfxtool_dash_line(gfxline_t*line, float*dashes); +void gfxtool_draw_dashed_line(gfxdrawer_t*d, gfxline_t*line, float*dashes, float phase); +gfxline_t* gfxtool_dash_line(gfxline_t*line, float*dashes, float phase); -void gfxline_dump(gfxline_t*l, FILE*fi); +void gfxline_dump(gfxline_t*l, FILE*fi, char*prefix); void gfxline_free(gfxline_t*l); void gfxdraw_cubicTo(gfxdrawer_t*draw, double c1x, double c1y, double c2x, double c2y, double x, double y); +void gfxdraw_conicTo(gfxdrawer_t*draw, double cx, double cy, double tox, double toy); gfxbbox_t gfxline_getbbox(gfxline_t*line); gfxbbox_t gfxbbox_expand_to_point(gfxbbox_t box, gfxcoord_t x, gfxcoord_t y);