TN+NSAffineTransform.h
Description: Binary data
TN+NSBezierPath.h
Description: Binary data
TN+NSAffineTransform.m
Description: Binary data
TN+NSBezierPath.m
Description: Binary data
I would like comments on the following Categories on NSBezierPath and NSAffineTransform. In particular I would like comments on other suitable methods to be added, and alternate protocols
to set up input data.I'm not including the code in the body of the message,but as Attachments.
// // TN+NSAffineTransform.h // GraphicsUtilities //// Created by Tommy Nordgren ([EMAIL PROTECTED] http://www.tommynordgren.com ) on 2008-11-09.
// Copyright 2008 Tommy Nordgren. All rights reserved. // #import <Cocoa/Cocoa.h> @interface NSAffineTransform (TNGraphics)+(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p degrees: (CGFloat) deg;
+(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p radians: (CGFloat) rad;
+(NSAffineTransform *) transformByTranslatingOriginToPoint:(NSPoint) p; @end // // TN+NSBezierPath.h // GraphicsUtilities //// Created by Tommy Nordgren ([EMAIL PROTECTED] http://www.tommynordgren.com ) on 2008-11-09.
// Copyright 2008 Tommy Nordgren. All rights reserved. // #import <Cocoa/Cocoa.h> @interface NSBezierPath (TNGraphics)+(NSBezierPath *) bezierPathWithOvalInRectOfWidth:(CGFloat) w height: (CGFloat) h centeredAt:(NSPoint) p rotatedByDegrees:(CGFloat) d; +(NSBezierPath *) bezierPathWithOvalInRectOfWidth:(CGFloat) w height: (CGFloat) h centeredAt:(NSPoint) p rotatedByRadians:(CGFloat) r; +(NSBezierPath *) bezierPathWithRectOfWidth:(CGFloat) w height: (CGFloat) h centeredAt:(NSPoint) p rotatedByDegrees:(CGFloat) d; +(NSBezierPath *) bezierPathWithRectOfWidth:(CGFloat) w height: (CGFloat) h centeredAt:(NSPoint) p rotatedByRadians:(CGFloat) r;
@end -----------------------------------See the amazing new SF reel: Invasion of the man eating cucumbers from outer space. On congratulations for a fantastic parody, the producer replies : "What parody?"
Tommy Nordgren [EMAIL PROTECTED]
_______________________________________________ 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]