Re: 1 pixel bordered CALayer renders improperly
Re: 1 pixel bordered CALayer renders improperly
- Subject: Re: 1 pixel bordered CALayer renders improperly
- From: Martin <email@hidden>
- Date: Sat, 5 Apr 2008 12:34:06 +0200
rdar://5844688
-Martin.
On 3 avr. 08, at 19:43, David Duncan wrote:
On Apr 2, 2008, at 10:26 PM, Martin wrote:
It seems that a CALayer with a borderWidth of 1.0 renders
improperly: all the border's pixels are good except the very top
right pixel which has a different colour.
Example: http://img34.picoodle.com/img/img34/4/4/2/f_CALayerm_6e43e20.png
Is this a know bug? Is there a workaround?
Haven't seen it before, please file it with a reproducible case.
Best idea for a work around would be to draw the border yourself
(either override -drawInContext or set a delegate and override -
drawLayer:inContext) but I have no idea if that would work.
--
David Duncan
Apple DTS Animation and Printing
email@hidden
_______________________________________________
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