About GAPI

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

GAPI seems to be the way to go to do fast graphics.
I write orinary WinForm application (on PPC) but I have speed issue with a
DataGrid object which could be as big as the screen and scrolled ....

I would like to draw to a backbuffer (a System.Drawing.Bitmap or anything
which could fit for all I care) and show this back buffer.
I was thinking to use GAPI (1.2) to draw to this backbuffer but I can't see
how to start, for instance GXOpenDisplay() need a HWND ! (certainly not a
HBITMAP) and only accept GX_FULLSCREEN.
Any tip on how to initialize a backbuffer ?
(and how to Blt it after ?)
 
Lloyd, I don't think (maybe I'm wrong) GAPI is yet
supported.

So, you should take a look at GapiDraw instead
(www.gapidraw.com)

You can even find a C# Wrapper for GapiDraw at
www.intuitex.com.
-----Original Message-----
GAPI seems to be the way to go to do fast graphics.
I write orinary WinForm application (on PPC) but I have speed issue with a
DataGrid object which could be as big as the screen and scrolled ....

I would like to draw to a backbuffer (a
System.Drawing.Bitmap or anything
 
Lloyd,

Your code has a few problems.
The main problem that you draw all items at once.
You don't need to do that. Just identify which cells are visible at the
moment and draw only them..
 
I think I do !
don't I ?
do you look at the code and find this out ?.....
mhh.... I check that first time tomorrow ....
 
Hi Lloyd,

For reference, though I am pretty sure you do not want to use GAPI because
you will lose so much functionality that is built into GDI+ and you will
have to worry about the maintenance of the dll, etc.

http://www.intuitex.com/gapidraw.html

--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility

This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top