• 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
NSBezierPath Problem...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBezierPath Problem...


  • Subject: NSBezierPath Problem...
  • From: "Joshua D. Orr" <email@hidden>
  • Date: Tue, 5 Mar 2002 13:34:02 -0700

Ok, I have a problem with NSBezierPath. I use [NSBezierPath setDefaultLineWidth:0]; to set the width. When the lines are going strait up and down they are only one pixel wide, but when the lines are at an angle, they are thicker. (By the way, I had to offset drawing by 0.5 pixels to get the lines thiner when going strait up and down to strait left and right).


Is there any way to make it so the NSBezierPath strokes lines only one pixel wide no matter what??? Is there any way to draw lines like that if I can't use NSBezierPath in a NSView subclass?


Thanks for any help!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSBezierPath Problem...
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Localizing about files
  • Next by Date: NSWindowWillCloseNotification
  • Previous by thread: Re: focusing on a tableView?
  • Next by thread: Re: NSBezierPath Problem...
  • Index(es):
    • Date
    • Thread