Re: Rotating image

2009-07-27 Thread Dragos Ionel
No need to release an image created using the imageNamed. Dragos On Sun, Jul 26, 2009 at 4:00 AM, Agha Khan agha.k...@me.com 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

Rotating image

2009-07-26 Thread Agha Khan
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? Best regards Agha

Re: Rotating image

2009-07-26 Thread Jerry Krinock
On 2009 Jul 26, at 01:00, Agha Khan wrote: Now suppose I want to rotate that image at 90 degree. Is there an easy way to accomplish this task? Easy, yes. (Just copy Steve Christensen's code ... it works) http://www.cocoabuilder.com/archive/message/cocoa/2009/3/1/231362 Here's the

Re: Rotating image

2009-07-26 Thread David Duncan
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?