• 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: 1 pixel bordered CALayer renders improperly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >1 pixel bordered CALayer renders improperly (From: Martin <email@hidden>)
 >Re: 1 pixel bordered CALayer renders improperly (From: David Duncan <email@hidden>)

  • Prev by Date: NSOutlineView Problem
  • Next by Date: Re: NSOutlineView Problem
  • Previous by thread: Re: 1 pixel bordered CALayer renders improperly
  • Next by thread: Re: scrollRangeToVisible from within mouseDown causing crash?
  • Index(es):
    • Date
    • Thread