Re: Touch: Non-rectangular Touch areas
Re: Touch: Non-rectangular Touch areas
- Subject: Re: Touch: Non-rectangular Touch areas
- From: Kyle Sluder <email@hidden>
- Date: Sat, 6 Feb 2010 18:45:10 -0800
On Sat, Feb 6, 2010 at 3:45 PM, Development <email@hidden> wrote:
> I really like the sound of this solution. I've never worked with CGPaths, is that anything at all like NSBezierPath?
> because it seems like this might be the way to go. Can I use an Image to create a CGPath?
No. This seems to be backwards, anyway. It sounds like you already
know the pattern of tessellated trapezoids you need to use as your hit
regions. Why not just do the math yourself? Trapezoids are convex
polygons, and are fairly easy to triangulate.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden