Hi,
I have an application that creates a bitmap of the current screen. I have to questions:
1) How can I import the screen before using GapiDraw?
2) How can I fade the screen to grayscale?
I'd like to fade the current pocket pc program view to grayscale (screen saver).
Thanks a lot!
Michael
You should be able to use basic GDI API functions to do this. Capture the screen in memory, run a colorshift on it, and then just initialize GAPIDraw and load into a surface the captured screen that's in memory.
Re: (2), you can use the Colorize parameter to Blt() to fade to grayscale or any other color (in real time)...
@Hosed: Do you have a small sample? I am not the big c++ programmer and want only to show a user what he can do with the gapidraw!
Hi Interactive,
I would show him the included samples that comes with gapidraw. The ones with rotozoom, scrolling and rotating sprites should be a good start to show someone what's possible with Gapidraw.
Greets,
Michael Ritter
5am|coderz
@interative: I'd follow Blacky's suggestion. To do what you want to do requires a little more knowledge of windows' graphics API and it's quite likely that someone using GapiDraw will never need to actually touch the GDI for 90% of their apps.