• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Touch: Non-rectangular Touch areas
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Touch: Non-rectangular Touch areas


  • Subject: Re: Touch: Non-rectangular Touch areas
  • From: "Henry McGilton (Boulevardier)" <email@hidden>
  • Date: Sat, 6 Feb 2010 19:08:21 -0800

On Feb 6, 2010, at 6:45 PM, Kyle Sluder wrote:

> 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.

Well, that too . . .    If you're going the 'Do It Yourself' route, a fantastic
resource is the Wild Magic Geometric Tools web site here:

        http://www.geometrictools.com/index.html

    Cheers,
        . . . . . . . .    Henry


=================================================
iPhone App Development and Developer Education . . .
        Visit  www.nonatomic-retain.com

Mac OSX Application Development, Plus a Great Deal More . . .
        Visit  www.trilithon.com

_______________________________________________

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

References: 
 >Touch: Non-rectangular Touch areas (From: Development <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: Jens Alfke <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: Andrew Farmer <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: "Paul Sanders" <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: "Henry McGilton (Boulevardier)" <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: Development <email@hidden>)
 >Re: Touch: Non-rectangular Touch areas (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Touch: Non-rectangular Touch areas
  • Next by Date: coredata: custom accessors
  • Previous by thread: Re: Touch: Non-rectangular Touch areas
  • Next by thread: Re: Touch: Non-rectangular Touch areas
  • Index(es):
    • Date
    • Thread