One thing to mention with this technique is that it is based on the
"non-negative winding rule". This means that for complex shapes that
have paths that intersect internally it will depend on the order that
you draw your paths (clockwise or counter-clockwise) whether points
are considered inside the shape or not.

Having said that, I have tried to create a fail case from the example
at 
http://www.w3schools.com/html5/tryit.asp?filename=tryhtml5_canvas_ispointinpath
but have not been successful so far so I'm not sure to what extent one
should worry about it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to