[cairo] Path Holes

Bobby Salazar bobby8934 at inbox.com
Mon Jul 28 09:47:50 PDT 2008


How does Cairo decide whether or not a sub path is to be a hole and not painted, or is supposed to be part of the shape?

Currently, it looks like Cairo assumes it's a hole if the points go counter-clockwise and the original path points go clockwise. There must be a better way. Is it possible to explicity tell Cairo that a specific sub path is a hole or not?

Does anyone know what the reasoning is for the current behavior?


More information about the cairo mailing list