Is there any way to check for the intersection of a point and a QPainterPath. This is a very basic function that should be provided by Qt.
The intesects() method says:
"Also returns true if the current path contains or is contained by any part of p."
I am creating a graphics editor and need to know if the mouse hovers ONLY OVER THE OUTLINE.
GDI+ has this. It is called IsOutlineVisible.
Also (bonus question!), is there a flatten() method available for QPainterPath which gives me the set of POINTS that make up the path, like in GDI+:
http://msdn.microsoft.com/en-us/libr...h.flatten.aspx
Any ideas?
Bookmarks