Re: Drawing lines
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.