[cairo] Hit tests?
Mirco Müller
macslow at bangang.de
Thu Jul 6 14:51:12 PDT 2006
Am Mittwoch, den 05.07.2006, 12:20 -0400 schrieb Christian Convey:
> Does Cairo support hit tests on objects?
No. cairo is just for drawing. But if you want to have pixel-exact
hit-tests of elements you are drawing with cairo, you could use
input-shape masks from XInput 1.1... if you are coding under a typical
Xorg/gtk+ environment.
You might take a look at the code-sample available here:
http://macslow.thepimp.net/?p=26
Best regards...
Mirco "MacSlow" Müller
--
email - macslow at bangang.de
www - http://macslow.thepimp.net
lowfat - http://macslow.thepimp.net/sponsor-it
More information about the cairo
mailing list