git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
optimized gfxpoly to gfxline conversion
[swftools.git]
/
lib
/
gfxpoly
/
test.c
diff --git
a/lib/gfxpoly/test.c
b/lib/gfxpoly/test.c
index
ccf2a3f
..
6530340
100644
(file)
--- a/
lib/gfxpoly/test.c
+++ b/
lib/gfxpoly/test.c
@@
-190,6
+190,10
@@
int test0(int argn, char*argv[])
gfxline_free(box1);
gfxline_free(box2);
gfxpoly_t*poly3 = gfxpoly_process(poly1, poly2, &windrule_intersect, &twopolygons);
gfxline_free(box1);
gfxline_free(box2);
gfxpoly_t*poly3 = gfxpoly_process(poly1, poly2, &windrule_intersect, &twopolygons);
+ gfxpoly_dump(poly3);
+ gfxline_t*line = gfxline_from_gfxpoly(poly3);
+ gfxline_dump(line, stdout, "");
+ gfxline_free(line);
gfxpoly_destroy(poly1);
gfxpoly_destroy(poly2);
gfxpoly_destroy(poly3);
gfxpoly_destroy(poly1);
gfxpoly_destroy(poly2);
gfxpoly_destroy(poly3);