On Jul 26, 2009, at 1:00 AM, Agha Khan wrote:
HI:
I have an image which works fine.
UIImage *img = [UIImage imageNamed:@"background.png"];
[img drawAtPoint:CGPointMake(0,0)];
[img release];
Now suppose I want to rotate that image at 90 degree. Is there an
easy way to accomplish this task?
CGContextRotateCTM(UIGraphicsGetCurrentContext(), M_PI / 2.0);
[img drawAtPoint...];
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
Cocoa-dev mailing list ([email protected])
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]