Re: Advice for rotating content in a window so it doesn't get clipped
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