how to do a hit-test



Hi everybody,

I have another question,

lets assume I have a closed polygon. Is there a way to do a hit-test (test if
a point is inside the polygon). I know this is supported in cairo:

cairo_bool_t        cairo_in_fill                       (cairo_t *cr,
                                                         double x,
                                                         double y);

is there something equivalent in goocanvas?

thank you very much for any help,

-daniel
---
Daniel M. German
http://turingmachine.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]