|
From: SourceForge.net <no...@so...> - 2004-02-23 19:49:47
|
Bugs item #902922, was opened at 2004-02-23 19:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442052&aid=902922&group_id=45158 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dair Grant (grantd) Assigned to: Nobody/Anonymous (nobody) Summary: Add draw-context independent drawing API Initial Comment: It would be useful to have a draw-context independent API for drawing, to act as a portable way to get/set pixels that would work with any kind of draw context object. Draw contexts could implement required get/set pixel methods, and optionally get/set scanline or drawrect methods (the root draw context object would provide default implementations of these methods, which would just work by calling the single-pixel method repeatedly). This would let applications draw directly to draw contexts, and would make it possible to write plug-in renderers (e.g., a RayTracer) without requiring that they hard-code support for each available draw context type in them (at present, every renderer must know how to draw to every type of draw context). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=442052&aid=902922&group_id=45158 |