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 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]

Reply via email to