• 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: Drawing a 1 pixel-perfect wide bordered NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath


  • Subject: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • From: Peter Zegelin <email@hidden>
  • Date: Fri, 18 Apr 2008 23:20:15 +1000


On 18/04/2008, at 11:06 PM, Graham Cox wrote:


On 18 Apr 2008, at 11:01 pm, Peter Zegelin wrote:
Weird - I just set the stroke width of my selection rectangle to 0 and didn't get anything.

Peter


What function is drawing? I'm not sure this works with NSFrameRectWithWidth(), but it definitely does with NSBezierPath/ stroke.


I'm using CGContextSetLineWidth and then stoking with CGContextDrawPath.


G.


P.S. Thanks for your earlier suggestion - it got me thinking and having implemented it that way now (easy) it works really well.



Glad I could help.

regards,

Peter


NOTE: Have sent to Cocoa List as I accidently sent to you my earlier reply rather than to the list.
_______________________________________________


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


  • Follow-Ups:
    • Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
      • From: Scott Thompson <email@hidden>
References: 
 >Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath (From: Heinrich Giesen <email@hidden>)
 >Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath (From: Scott Thompson <email@hidden>)
 >Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Next by Date: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Previous by thread: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Next by thread: Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath
  • Index(es):
    • Date
    • Thread