Re: [Alephmodular-devel] Drawing Contexts - CDContext
Status: Pre-Alpha
Brought to you by:
brefin
From: Alexander S. <ast...@it...> - 2003-07-29 02:53:03
|
On Monday, July 28, 2003, at 06:24 PM, Br'fin wrote: > Yes, I know it's old and crusty in here. But I never know quite what > to do aside from occasionally making some headway on the Display > Abstraction. > > The general business I see CDContext dealing with will mainly be > drawing lines, text, and filling areas. As such it will provide the > support/features needed and provided by screen_drawing.cpp. As well as > other areas where direct drawing commands are done upon a buffer. (For > instance, asking a buffer to be erased/filled to a color) It would be useful if it also supported basic transforms like scaling (so we can read terminals comfortably at high screen resolutions, although we may not want to scale the pictures); Quartz and OpenGL will handle this for you in OSX. > But that is probably fairly rare to begin with. And in the future may > allow us to shift to a Quartz based drawing scheme. (Heh, anti-aliased > text and map lines?) I would definetely recommend starting out with Quartz/CoreGraphics instead of a QuickDraw API. |