Re: How to make a CALayer dont get blur when rotating.
Re: How to make a CALayer dont get blur when rotating.
- Subject: Re: How to make a CALayer dont get blur when rotating.
- From: Gustavo Pizano <email@hidden>
- Date: Tue, 16 Dec 2008 15:33:24 +0100
NSLog(@" %f,%f", nLayer.frame.origin.x, nLayer.frame.origin.y);
generated the following output before rotating the layer.
2008-12-16 15:31:32.513 NavalBattle[392:10b] 100.000000,200.000000
On 16.12.2008, at 15:19, Dimitri Bouniol wrote:
Perhaps it has something to do with HPS (half-pixel syndrome). Maybe
as you rotate the layer, the x-coord (which was a y-coord) now lies
on 0.5 pixels. Try checking the layer.frame.origin point to see if
it is expressed in whole numbers.
On Dec 16, 2008, at 5:59 AM, Gustavo Pizano wrote:
I was thinking about that, I put a 90.0f but that didn't help let
me see the M_PI_2 works..... nop once it gets to vertical position
the image its not focused.
:S
Gus.
On 16.12.2008, at 14:48, Dimitri Bouniol wrote:
_______________________________________________
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