[Cairo] mouse pointer and cairo
Thomas Hunger
info at teh-web.de
Sun Oct 12 12:55:09 PDT 2003
> int
> cairo_in_stroke (cairo_t *cr, double x, double y);
>
> int
> cairo_in_fill (cairo_t *cr, double x, double y);
if these functions return success if a point intersects, they cannot return
cairo_status_t anymore. introducting a flag for intersection true/false in
the cairo_t could be a posibillity? The application could then try:
if (cairo_hit (my_cairo)) /* do stuff */
Tom
More information about the cairo
mailing list