[cairo] hit detection for paths

David Trallero Mena ditiem at gmail.com
Wed Mar 1 23:05:02 PST 2006

Sven Herzberg escribió:
> double cairo_path_distance(cairo_path_t* path,
>                            cairo_fill_rule_t fill_rule,
>                            double       x,
>                            double       y);

what about the transformation matrix? Or am I missing something like:

cairo_path_t temp_path ;

temp_path = path * current_transformation_matrix ;

return cairo_path_distance( temp_path ... ) ;

(sorry if question looks fool... but I am pretty newbie with Cairo)


More information about the cairo mailing list