Winding Numbers in Paths

Recently I've been doing some research on vector graphics and decided to build a vector engine from scratch to further this. I got to the point of building compound paths (A list of Paths). Then I thought of something, How would I be able to look for a point is a Compound Path or even a Path. This was a problem. The first thought of solving this problem was to just make use of the Compound Path…