[cairo] Hit test path area recipe
donn.ingle at gmail.com
Fri Nov 9 09:10:20 PST 2007
> Doesn't this work?
> someotherpath = cr.copy_path_flat()
> <draw other stuff>
> result = cr.in_fill()
Interesting. I don't know. My situation calls for the hit test to be done in
another function, because it's a retained mode canvas that I'm writing, so
doing the test "in context" so-to-speak is not the right place to do it. But
I'm always surprised at what Cairo can do.
I'll give it a go. Thanks.
More information about the cairo