• 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: Advice for rotating content in a window so it doesn't get clipped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice for rotating content in a window so it doesn't get clipped


  • Subject: Re: Advice for rotating content in a window so it doesn't get clipped
  • From: Graham Cox <email@hidden>
  • Date: Fri, 07 Sep 2012 20:01:02 +1000

On 07/09/2012, at 7:14 PM, Uli Kusterer <email@hidden> wrote:

> distance between two points is sqrt(pow(a.x -b.x,2) + pow(a.y -b.y,2)),


Or, much more simply, hypot( b.x - a.x, b.y - a.y );

--Graham


_______________________________________________

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: 
 >Advice for rotating content in a window so it doesn't get clipped (From: Eric Wing <email@hidden>)
 >Re: Advice for rotating content in a window so it doesn't get clipped (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • Next by Date: Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
  • Previous by thread: Re: Advice for rotating content in a window so it doesn't get clipped
  • Next by thread: Re: Advice for rotating content in a window so it doesn't get clipped
  • Index(es):
    • Date
    • Thread