• 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: Inviting to comment on Cocoa categories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inviting to comment on Cocoa categories


  • Subject: Re: Inviting to comment on Cocoa categories
  • From: "Michael Ash" <email@hidden>
  • Date: Sun, 9 Nov 2008 22:43:56 -0500

On Sun, Nov 9, 2008 at 9:55 PM, Kyle Sluder
<email@hidden> wrote:
> On Sun, Nov 9, 2008 at 1:47 PM, Tommy Nordgren <email@hidden> wrote:
>> +(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p
>> degrees:(CGFloat) deg;
>
> Please be aware that rotation around a point other than the origin is
> not a linear transformation.  This may be why such functionality was
> omitted from NSAffineTransform.

That's not so. Any affine transform is a linear transformation, and
rotation around a point can certainly be represented as an affine
transform.

Most likely the reason why NSAffineTransform doesn't have this
functionality is because NSAffineTransform simply provides the basic
building blocks, and rotation about a point is actually a combination
of those basics.

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: Inviting to comment on Cocoa categories
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Inviting to comment on Cocoa categories (From: Tommy Nordgren <email@hidden>)
 >Re: Inviting to comment on Cocoa categories (From: "Kyle Sluder" <email@hidden>)

  • Prev by Date: Re: Inviting to comment on Cocoa categories
  • Next by Date: Re: Inviting to comment on Cocoa categories
  • Previous by thread: Re: Inviting to comment on Cocoa categories
  • Next by thread: Re: Inviting to comment on Cocoa categories
  • Index(es):
    • Date
    • Thread