[cairo] problem with BitBlt
gurnett at glocalnet.net
Sat Aug 30 17:27:25 PDT 2008
I have the following bit of code
bckgrnd = new Graphics::TBitmap;
bckgrnd->Width = ClientWidth;
bckgrnd->Height = ClientHeight;
surface = cairo_win32_surface_create (hdc);
background = cairo_create (surface);
The idea is the to draw on the background surface and BitBlt it on my paint routine. However, with the code above it appears that the initial drawing space is filled white (guessing rgba are all 1). Is there a way to get the initial drawing region to be transparant.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cairo