[cairo-commit] [cairo-www] src/hittestpython.mdwn

Carl Worth cworth at freedesktop.org
Fri Nov 9 22:20:27 PST 2007


 src/hittestpython.mdwn |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 80914a59e581ed3fcb43c09283b478d195e487d4
Author: Donn <donn.ingle at gmail.com>
Date:   Fri Nov 9 22:20:26 2007 -0800

    licence okayed

diff --git a/src/hittestpython.mdwn b/src/hittestpython.mdwn
index cf947e9..6ea465f 100644
--- a/src/hittestpython.mdwn
+++ b/src/hittestpython.mdwn
@@ -2,8 +2,6 @@
 
 Once you've drawn something and **before** you cr.fill() or cr.stroke(), you can record the path to a list of points for later use. This recipe includes an algorithm to tell whether a point is within that path's area or not. It prints to the console, so it's not exactly bling, but it's pretty nifty for all that. Go see <http://local.wasp.uwa.edu.au/~pbourke/geometry/insidepoly/> for the theory behind the voodoo :)
 
-I am trying to contact the author of the algorithm to double check that it can appear here. Will update.
-
 ##Newsflash
 
 Jeff Muizelaar informed me that Cairo has a built-in function to do this anyway. See code listing 2.


More information about the cairo-commit mailing list