StretchBlt-ing a Masked DIB onto a screen device context
Posted on 1997-08-12
I have seen an example of BitBlt-ing a Masked DIB (i.e.,
a DIB whose transparent bits are not drawn to the device
context)to a screen device context. When I try to use
StretchBlt, instead of BitBlt, in the example I have
seen the background portion of the output is incorrect.
My question: How do I StretchBlt a DIB onto the device
context and have all the proportions of position and
size perserved (position and size of the bitmap need
to be based on client metrics)?