On Sun, Nov 9, 2008 at 9:55 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Sun, Nov 9, 2008 at 1:47 PM, Tommy Nordgren <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to