Re: switching between offscreen and onscreen drawing
- From: "Saju" <SajuSathyan@xxxxxxxxxxx>
- Date: Mon, 7 Jul 2008 00:03:10 +0200
Not clear about your actual purpose here... but if you really want to manipulate offscreen and onscreen buffers then you should look into directdraw in
DirectX.
"Chimanrao" <chimanrao@xxxxxxxxx>
hi
I have a piece of code which does offscreen drawing, its raster based
drawing.
1. I create a offscree bitmap using CreateDIBSection
2. Get the bits for this bitmap.
3. fill the bits based on the algorithm
4. In WM_PAINT, bitblt this offscreen bitmap.
I want to able to switch between offscreen and onscreen rendering.
for this I want to get the bits of the bitmap thats currently loaded
in the DC so that when change the pixels they show on the screen
immediately. This allows for easy debugging.
how do I do this?
Chimanrao
.
- References:
- switching between offscreen and onscreen drawing
- From: Chimanrao
- switching between offscreen and onscreen drawing
- Prev by Date: Re: Creating a rectangle having rubber band effect filled with transparent color
- Next by Date: Re: Having problems with screenshot code on windows vista
- Previous by thread: switching between offscreen and onscreen drawing
- Next by thread: Control the speed of a print job
- Index(es):
Loading