• 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: Scott Thompson <email@hidden>
  • Date: Fri, 18 Apr 2008 07:19:15 -0500


On Apr 17, 2008, at 4:28 AM, Heinrich Giesen wrote:


Sorry, pressed the wrong button.

And: if the bezier path shall always be drawn 1 pixel wide, independent
of resolution and scaling the lineWidth should be set to 0 (zero)

While this works for PostScript, it does not work for Quartz. Quartz 2D will not draw strokes with a zero width.


Scott
_______________________________________________

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: Graham Cox <email@hidden>
References: 
 >Re: Drawing a 1 pixel-perfect wide bordered NSBezierPath (From: Heinrich Giesen <email@hidden>)

  • Prev by Date: Re: Mounting AFP Volume using Cocoa
  • Next by Date: Re: running out of NSPipes
  • 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