How to draw a 1 pixel bezierPath
How to draw a 1 pixel bezierPath
- Subject: How to draw a 1 pixel bezierPath
- From: Ron Fleckner <email@hidden>
- Date: Sun, 21 Aug 2005 11:52:19 +1000
Hi,
I'm trying to draw a 1 pixel wide bezierPath, but any value I set in
setLineWidth: that is less than 2.0 results in a 2 pixel wide line.
One pixel width lines are everywhere (at the bottom of window title
bars, toolbars and etc.) but not in my project! I'm not trying to do
anything fancy and just use [path moveToPoint:aPoint], [path
lineToPoint:nextPoint], [path setLineWidth:1.0], [path stroke].
Where should I be looking for info? The NSBezierPath docs and Basic
Drawing make no mention of a 2 pixel floor for lineWidth.
Thanks for any help,
Ron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden