FROM : stephane sudre
DATE : Thu Nov 04 17:41:17 2004
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.`
DATE : Thu Nov 04 17:41:17 2004
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.`
| Related mails | Author | Date |
|---|---|---|
| Joe Esch | Nov 4, 17:31 | |
| stephane sudre | Nov 4, 17:41 | |
| Greg Titus | Nov 4, 18:16 | |
| Nat! | Nov 4, 22:33 | |
| Scott Ribe | Nov 6, 23:30 |






Cocoa mail archive

