Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-29-2008, 05:13 PM   #6 (permalink)
scottiphone
New Member
 
Join Date: Apr 2008
Posts: 802
Default Re: rotate a UIImage help

I haven't studied your code in too much detail but place a draw function after the transform to see if it's working.

Note that if you use orientation I don't think you have to rotate it manually. Since drawing ir a different orientation for the UI compared to some other image libraries they try to make it reasonable to do. Do a search of the example code for orientation or transform.
Once again try drawing before and after so you can see what happens.

You may have to draw and capture it.

Note that you'll have leaks since you've allocated a couple of objects but haven't released them.
scottiphone is offline   Reply With Quote
 

» Advertisements
» Online Users: 577
19 members and 558 guests
Briger, chaseacton, ckgni, crimsoncat, Dani77, devangvyas, diyora, Domele, Gambit, ilmman, nakr, pavanindira, PetarPM, Prolocksmith12, savvycom, StormFactory, sudama, suresk, tonylinux
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,780
Threads: 89,204
Posts: 380,599
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Prolocksmith12
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:27 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.