Solved

StretchBlt-ing a Masked DIB onto a screen device context

Posted on 1997-08-12
2
341 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 50 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Process filename extension 3 156
haveThree challenge 22 100
Line meaning 9 77
wordmultiple challenge 12 90
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now