Re: Text is flipped vertically
Re: Text is flipped vertically
- Subject: Re: Text is flipped vertically
- From: Agha Khan <email@hidden>
- Date: Fri, 24 Jul 2009 10:24:33 -0700
I was able to fix that problem by
CGContextTranslateCTM(context, 0.0, rect.size.height);
CGContextScaleCTM(context,1.0, -1.0);
It works fine now. Thank you for reply.
Best regards
Agha
On Jul 23, 2009, at 8:18 PM, Kyle Sluder wrote:
On Jul 23, 2009, at 6:03 PM, Agha Khan <email@hidden> wrote:
I was unable to find where I have flipped the CGContextRef and
for some strange reason my text is flipped vertically. Any idea how
to reset CGContextRef?
Maybe it's a better idea to figure out where you're flipping the
context.
How are you drawing the text? The text system is extremely sensitive
about the flippedness of the views it draws into.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden