FROM : Nat!
DATE : Thu Nov 04 22:33:25 2004
>
> On Nov 4, 2004, at 8:31 AM, 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 lines using
>> NSBezierPath or Quartz have been asked many times. The reason that
>> I'm submitting yet another question is that I am still having
>> problems and was hoping that since this has been asked so many times
>> that maybe Apple has done something to solve the problem in a nice
>> way.
>
The usefulness of my suggestion may be questionable to you, but you
could do the drawing "manually" in a bitmap and render that. Horizontal
and vertical line drawing is trivial and a bresenham or dda is pretty
quickly coded. It's kinda old-school.. I remember having done this some
time in the distant past :)
Ciao
Nat!
------------------------------------------------------
A good dog, though a fool.
Who wants a smart dog! -- R.A. Lafferty
DATE : Thu Nov 04 22:33:25 2004
>
> On Nov 4, 2004, at 8:31 AM, 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 lines using
>> NSBezierPath or Quartz have been asked many times. The reason that
>> I'm submitting yet another question is that I am still having
>> problems and was hoping that since this has been asked so many times
>> that maybe Apple has done something to solve the problem in a nice
>> way.
>
The usefulness of my suggestion may be questionable to you, but you
could do the drawing "manually" in a bitmap and render that. Horizontal
and vertical line drawing is trivial and a bresenham or dda is pretty
quickly coded. It's kinda old-school.. I remember having done this some
time in the distant past :)
Ciao
Nat!
------------------------------------------------------
A good dog, though a fool.
Who wants a smart dog! -- R.A. Lafferty
| 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

