[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Comments on Artlib backend
From: |
Alexander Malmberg |
Subject: |
Re: Comments on Artlib backend |
Date: |
Wed, 28 Aug 2002 20:03:38 +0200 |
[snip]
> So the issue should not be whether or not to implement stuff in the gui
> library, but how to implement it in the gui in such a way that it can be
> used by *or* replaced by backends efficiently and easily.
For NSGraphicsContext, this is easy. The backend has to provide a
concrete subclass of NSGraphicsContext anyway, so you just put your
optimized/special version there and the generic one in NSGraphicsContext
will be ignored.
However, doing the same thing with classes like NSAffineTransform or
NSColor would be much trickier, and I don't think that it'd be a good
idea.
- Alexander Malmberg
- Comments on Artlib backend, Fred Kiefer, 2002/08/26
- Re: Comments on Artlib backend, Alexander Malmberg, 2002/08/27
- Re: Comments on Artlib backend, Alexander Malmberg, 2002/08/27
- Re: Comments on Artlib backend, BALATON Zoltan, 2002/08/28
- Re: Comments on Artlib backend, Alexander Malmberg, 2002/08/28
- Re: Comments on Artlib backend, Richard Frith-Macdonald, 2002/08/28
- Re: Comments on Artlib backend,
Alexander Malmberg <=
- Re: Comments on Artlib backend, BALATON Zoltan, 2002/08/29