Holes in paths?


How would one go about filling a path, but excluding some subset of it? I.E. how would one fill a toroidal shape for example?

SVG has that facility, so I assume it can be done in JUCE by using Paths and transforms directly, but I’m not seeing right now.


I’ve not got a method for subtracting paths from each other - that’s actually a pretty difficult problem… What you could do would be to use odd/even winding if the shapes aren’t too complex.