Solved

StretchBlt-ing a Masked DIB onto a screen device context

Posted on 1997-08-12
2
349 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
wait notify demo infinite loop 3 137
ShiftLeft challenge 21 89
FizzBuzz challenge 9 85
noX challenge 17 134
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: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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