Article View: comp.os.os2.programmer
Article #234Advantage of GpiDrawBits?
From: Martin Erzberger
Date: Tue, 04 Aug 1992 14:25
Date: Tue, 04 Aug 1992 14:25
13 lines
1146 bytes
1146 bytes
Does anyone see the advantage(s) of the new GpiDrawBits call over the GpiSetBitmapBits call? Maybe there is a totally new approach to display a bitmap? Until now, one had to create a memory device context, associate a bitmap with it, then copy the bitmap into it (with GpiSetBitmapBits). This call did also all the rendering etc. necessary. As the last step one used GpiBitBlt to draw/scale etc. the bitmap. As far I can see, the GpiDrawBits call combines the step of GpiSet... and GpiBitBlt. Maybe one has to re-render the picture every time the palette changes, then this approach makes sense, but I'm affraid that it's very slow to re-render the picture every time one just wants to zoom in or out. Any ideas? Regards, Martin Erzberger
Technical Details
Message-ID:
<1992Aug4.142559.15039@ifi.unizh.ch>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!josef!erzbergShow Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!elroy.jpl.nasa.gov!usc!sol.ctr.columbia.edu!ira.uka.de!chx400!josef!erzberg From: erzberg@ifi.unizh.ch (Martin Erzberger) Subject: Advantage of GpiDrawBits? Message-ID: <1992Aug4.142559.15039@ifi.unizh.ch> Organization: University of Zurich, Department of Computer Science Date: Tue, 4 Aug 92 14:25:59 GMT Lines: 14