I kept the current behaviour to avoid surprises in existing clients (paths returned after skia operation are always in counter-clockwise by default), but added a new clockwise option to let clients choose clockwise outermost contour direction.
To keep existing direction, one can pass the current path.clockwise value.
Fixes #30
I kept the current behaviour to avoid surprises in existing clients (paths returned after skia operation are always in counter-clockwise by default), but added a new
clockwise
option to let clients choose clockwise outermost contour direction. To keep existing direction, one can pass the currentpath.clockwise
value.