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

Re: Drawing lines


  • Subject: Re: Drawing lines
  • From: Daryn <email@hidden>
  • Date: Sun, 13 Jul 2003 15:31:43 -0500

For horizontal/vertical lines, trying adding or subtracting 0.5 from the points. For diagonal lines, you probably need to disable antialiasing in the CGS context.

On Sunday, July 13, 2003, at 01:22 PM, Neil Earnshaw wrote:

I've built an app that draws lines in a view. Vertical and horizontal black lines are quite pale and thick. diagonal lines look bad too because they are smoothed. I've tried setting the line width to 0, which is supposed to give the sharpest lines for a device, but it makes no difference. Is there any way I can get really sharp lines on my PowerBook screen?

Neil


Neil Earnshaw
Consultant Software Engineer
Object Software Engineers Ltd
email@hidden
Tel : 01747 854 852
Mbl : 07870 209 102
_______________________________________________
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.


Daryn
_______________________________________________
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.

References: 
 >Drawing lines (From: Neil Earnshaw <email@hidden>)

  • Prev by Date: About a bug in Jaguar
  • Next by Date: Re: Question about NSRange on the G5 and the future sizeof(int).
  • Previous by thread: Drawing lines
  • Next by thread: didClickTableColumn stopped responding
  • Index(es):
    • Date
    • Thread