Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

StretchBlt-ing a Masked DIB onto a screen device context

Posted on 1997-08-12
2
Medium Priority
?
362 Views
Last Modified: 2013-11-19
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)?
0
Comment
Question by:nuhnnmwu
2 Comments
 
LVL 4

Accepted Solution

by:
mbhakta earned 100 total points
ID: 1303614
If you like to do some reading , get your hands on the 'Animation Techniques under Win32" by Nigel thompson. This book is available free on the MSDN CD. It provides a good overview on what you are planning to achieve.


0
 

Author Comment

by:nuhnnmwu
ID: 1303615

That is not really answering my question; it is passing
the question off to Mr. Thompson, who can't account
for the fact that his program won't compile in V++
5.0.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Loops Section Overview
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question