[cairo] DrawingArea events - cross posted

Federico Mena Quintero federico at ximian.com
Fri Nov 9 12:34:26 PST 2007

On Fri, 2007-11-09 at 15:12 +0200, Donn wrote:
> While that sounds great -- I would settle for even a pseudo-code algorithm for 
> how to detect x y within a path. I have been searching and coming up blank 
> really. 

Check out cairo_in_stroke() and cairo_in_fill().  With these you can see
if a point is within a path if it were stroked, or within a path if it
were filled.


More information about the cairo mailing list