I was confused by the results of my first attempts of alpha-blending when I moved away from the plain white background. The samples are also performed on a white background. I found there are many samples for how to use both ::GradientFill and ::AlphaBlend.Įven if the examples on MSDN show all of the capabilities of ::GdiAlphaBlend, the results displayed on the screen do not provide any new insight on how the function works.Īll of the effects could be recreated with calls to ::Rectangle and ::GradientFill. On the effect in the previous article, more about this later). This article will describe the challenges and difficulties that I worked through to arrive at the visual effect I was aiming towards (however, I will not focus Somewhere during development, it took a detour and it ended as a gradient-blended transition sweeping across the screen, alpha-blended with multiple images. I had this picture in my mind of what I wanted it to look like. One of the uses I wanted to display for a memory DC was its ability to be used with double-buffer painting. I took plenty of pictures to share too!Ī few weeks ago (a couple more days and I could put months here), I wrote an article called Guide to Win32 Memory DC. Wow!! What a journey I was just on! This wasn't a pleasure cruise, but I enjoyed it quite a bit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |