Re: 1 pixel wide lines
Re: 1 pixel wide lines
- Subject: Re: 1 pixel wide lines
- From: stephane sudre <email@hidden>
- Date: Thu, 4 Nov 2004 17:41:17 +0100
On Nov 4, 2004, at 5:31 PM, Joe Esch wrote:
Before you flame me, let me say that I've looked in the archives and
found that questions about drawing 1 pixel wide [...]
2. If not, how do I do it? Am I going to have to somehow invert the
view transform and figure out how to adjust the point coordinates so
that the final transformed points end up in the center of a pixel?
This seems like an awful lot of work for something that should be
easy. For some reason, I don't see the problem with scrolling. I
assume that the scrolling code must adjust the scroll amount to only
scroll by even pixel amounts.
Concerning the narrowing, inflating line width, I'm not sure to
understand the point that is preventing you to set the width of the
line to be 1/zoom_ratio.`
_______________________________________________
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