Yeah, that crossed my mind too, and I thought I had tried that, but I have just 
gone back through my code and found that there was a parent layer where I 
hadn't set it to an integral frame. I fixed that, and it's now working 
perfectly - looks so much better! Thanks for triggering me to look again.

Regards

Gideon

On 22/12/2010, at 4:25 PM, Seth Willits wrote:

> On Dec 21, 2010, at 4:09 PM, Gideon King wrote:
> 
>> When I draw it in my CALayer drawing code, it's not always pixel aligned.
> 
> You need to make sure the layer is aligned correctly too. The anchor point by 
> default is {0.5, 0.5}. If you place an oddly-sized layer on X.0 coordinate, 
> it'll be unaligned. Same with an even sized layer on a X.5 coordinate. 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to