X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Ftest.c;fp=lib%2Fgfxpoly%2Ftest.c;h=e968c173ddeb712bd0dd6279a1a9d4f97a94bac8;hp=6d125138aef6a8b7e2515b2699ec5fd288f0c441;hb=83aa304f14f03d1a214817fa3af43dda74436415;hpb=82228fda28e4361ca674fb2513f1c23c471421e6 diff --git a/lib/gfxpoly/test.c b/lib/gfxpoly/test.c index 6d12513..e968c17 100644 --- a/lib/gfxpoly/test.c +++ b/lib/gfxpoly/test.c @@ -216,7 +216,7 @@ int test1(int argn, char*argv[]) gfxline_t*b = 0; b = gfxline_append(b, box1); b = gfxline_append(b, box2); - b = gfxline_append(b, box3); + //b = gfxline_append(b, box3); gfxmatrix_t matrix; memset(&matrix, 0, sizeof(gfxmatrix_t)); @@ -236,6 +236,7 @@ int test1(int argn, char*argv[]) gfxpoly_dump(poly); gfxpoly_t*poly2 = gfxpoly_process(poly, 0, &windrule_evenodd, &onepolygon); + gfxpoly_dump(poly2); gfxpoly_destroy(poly); gfxpoly_destroy(poly2); } @@ -638,6 +639,6 @@ void test5(int argn, char*argv[]) int main(int argn, char*argv[]) { - test3(argn, argv); + test1(argn, argv); }