X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Frenderpoly.h;h=1c8d183e196c1f89a0d7c073d25ad66f4c16d558;hp=91727879b58dcf0b5e804c2b09691fbc19dd4a9f;hb=f7e9e8a9616f1ecb26776369fda6807cf8821a68;hpb=e5ec9f136f070b7e824e223c0b67e28efd8c70f0 diff --git a/lib/gfxpoly/renderpoly.h b/lib/gfxpoly/renderpoly.h index 9172787..1c8d183 100644 --- a/lib/gfxpoly/renderpoly.h +++ b/lib/gfxpoly/renderpoly.h @@ -13,6 +13,12 @@ typedef struct { int height; } intbbox_t; -unsigned char* render_polygon(gfxpoly_t*polygon, intbbox_t*bbox, double zoom, windrule_t*rule); +unsigned char* render_polygon(gfxpoly_t*polygon, intbbox_t*bbox, double zoom, windrule_t*rule, windcontext_t*context); + +intbbox_t intbbox_new(int x1, int y1, int x2, int y2); +intbbox_t intbbox_from_polygon(gfxpoly_t*polygon, double zoom); + +int bitmap_ok(intbbox_t*bbox, unsigned char*data); +int compare_bitmaps(intbbox_t*bbox, unsigned char*data1, unsigned char*data2); #endif