SFSymbols do not support the evenodd fill rule and are automatically converted to the nonzero winding rule by SwiftDraw.
SwiftDraw currently uses a primitive method to detect if a subpath is "inside" another path when winding that can cause issues when subpaths are positioned in close proximity:
This PR leverages CGPath.contains when available to fix the issue on Darwin platforms.
Resolves issue #32 on Darwin platforms falling back to CoreGraphics.
SFSymbols do not support the evenodd fill rule and are automatically converted to the nonzero winding rule by SwiftDraw.
SwiftDraw currently uses a primitive method to detect if a subpath is "inside" another path when winding that can cause issues when subpaths are positioned in close proximity:
This PR leverages
CGPath.contains
when available to fix the issue on Darwin platforms.Resolves issue #32 on Darwin platforms falling back to CoreGraphics.