PaintLab/PixelFarm

[INFO] Tesselation Note

prepare opened this issue · 2 comments

Tess with NONZERO winding rule

we use NONZERO winding rule as default (compat with Agg/CpuBlit)

tess_rect5

To have a hole, outer and inner must not go in the same direction

Tess with ODD winding rule

To have a hole, outer border and inner border can go in any direction (clockwise,counter-clockwise)

tess_rect4

outer and inner border go in the same direction, tess provide a hole too