Created attachment 4272 [details] replace the NSBezierPath with a CGPath
Comment on attachment 4272 [details] replace the NSBezierPath with a CGPath I thought it might solve an issue with [NSBezierPath containsPoint:] not always returning YES when it should, but CGPath has the same problem.
Comment on attachment 4272 [details] replace the NSBezierPath with a CGPath We use 0 instead of NULL in our code. Otherwise looks perfect!
Created attachment 4292 [details] replace the NSBezierPath with a CGPath Changed NULLs to 0s and removed NSBezierPath comment
Comment on attachment 4292 [details] replace the NSBezierPath with a CGPath r=me
Landed.
Turns out this caused a bug. Currently the bug report is only in Bugzilla, but there seem to be cases that NSBezierPath handles better than CGPath. Specifically: http://www.intervalworld.com/web/cs?a=1500 On that map if you mouse over the US you'll get some areas that say "Europe" or "Asia".
(In reply to comment #7) > Turns out this caused a bug. Currently the bug report is only in Bugzilla, but > there seem to be cases that NSBezierPath handles better than CGPath. And there are cases that CGPath handles better the NSBezierPath. I don't know which are more common.