Is it possible to mix GDI with Gapi (As can be done with Direct X).
mixing it
Can you please register and use a username?
sorry about that ..forgot to log in
My understanding is that GAPI takes over the entire screen and input functionality. So once you start using GAPI, you can't use GDI anymore, unless you stop using GAPI.
It is possible if GXIsDRAMBuffer() returns false. (i.e. GAPI is not buffered). If this is not the case, then you won't be able to use GDI and GAPI together with the intended result.
You can always create your own DIB and get a DC to it. When you are finished using GDI/Direct access to it, you blit it to GAPI. If GAPI was buffered, this unfortunately adds and extra blit. But it works. To see how this is done, take a look at the PocketFrog source code.
You can always create your own DIB and get a DC to it. When you are finished using GDI/Direct access to it, you blit it to GAPI. If GAPI was buffered, this unfortunately adds and extra blit. But it works. To see how this is done, take a look at the PocketFrog source code.
you can use GDI functions with GAPI eg: ExtTextOut to get TTF fonts & Ellipse etc so I assume lots of other GDI functions can be used ? ( I used these with PocketFrog)
This will work until your code runs on a device that is buffered by GAPI. Albeit I must admit the only devices I know that will do that is the Casio E-125 (and the iPAQ 3800 if the workaround it not used).