X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxpoly%2Fpoly.h;h=2882b4ce5a1d8590dc51cfd534a7079a725c5026;hp=619b779489be0c3e3e0c4ae29e435bf94e7ce592;hb=678260583255100b0dce559e0f8f2f813e6f162e;hpb=bdad407fb79c2f7be9f3603694ebdeadc645b52d diff --git a/lib/gfxpoly/poly.h b/lib/gfxpoly/poly.h index 619b779..2882b4c 100644 --- a/lib/gfxpoly/poly.h +++ b/lib/gfxpoly/poly.h @@ -28,7 +28,6 @@ type_t point_type; typedef struct _gfxpolystroke { segment_dir_t dir; edgestyle_t*fs; - edgestyle_t*fs_old; int points_size; int num_points; point_t*points; @@ -47,9 +46,8 @@ typedef struct _segment { int32_t minx, maxx; segment_dir_t dir; - edgestyle_t*fs_orig; + edgestyle_t*fs; edgestyle_t*fs_out; - edgestyle_t*fs_old; #ifdef CHECKS char fs_out_ok; #endif @@ -95,11 +93,12 @@ typedef struct _segment { void gfxpoly_fail(char*expr, char*file, int line, const char*function); -char gfxpoly_check(gfxpoly_t*poly); +char gfxpoly_check(gfxpoly_t*poly, char updown); int gfxpoly_num_segments(gfxpoly_t*poly); int gfxpoly_size(gfxpoly_t*poly); void gfxpoly_dump(gfxpoly_t*poly); void gfxpoly_save(gfxpoly_t*poly, const char*filename); +void gfxpoly_save_arrows(gfxpoly_t*poly, const char*filename); gfxpoly_t* gfxpoly_process(gfxpoly_t*poly1, gfxpoly_t*poly2, windrule_t*windrule, windcontext_t*context); gfxpoly_t* gfxpoly_intersect(gfxpoly_t*p1, gfxpoly_t*p2);