Solved

StretchBlt-ing a Masked DIB onto a screen device context

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

22 Experts available now in Live!

Get 1:1 Help Now