• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make a CALayer dont get blur when rotating.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to make a CALayer dont get blur when rotating. (From: Gustavo Pizano <email@hidden>)
 >Re: How to make a CALayer dont get blur when rotating. (From: Martin Carlberg <email@hidden>)
 >Re: How to make a CALayer dont get blur when rotating. (From: Gustavo Pizano <email@hidden>)
 >Re: How to make a CALayer dont get blur when rotating. (From: Dimitri Bouniol <email@hidden>)
 >Re: How to make a CALayer dont get blur when rotating. (From: Gustavo Pizano <email@hidden>)
 >Re: How to make a CALayer dont get blur when rotating. (From: Dimitri Bouniol <email@hidden>)

  • Prev by Date: How to make NSURLConnection send delegate messages during runModalForWindow
  • Next by Date: Re: More - Safari Download Security Alerts
  • Previous by thread: Re: How to make a CALayer dont get blur when rotating.
  • Next by thread: Re: How to make a CALayer dont get blur when rotating.
  • Index(es):
    • Date
    • Thread