Search Tools Links Login

Alpha Gradient Pictures


This code draws two pictures that merged - with gradually alpha pixels (like in photoshop).

This code is realy wonderful but it's not so hard although its fast, it uses AlphaBlend API function, that requires the destination hDC and source hDC and both's recangle (left,top,width,height) and the blend value(beware: the blend value is between 0 and 255, but in AlphaBlend API function multiply the blend value by 256^2 or in hex add 4 zeroez in the right side like: &H9F --> &H9F0000)

Original Author: Saed Abumokh

About this post

Posted: 2020-09-02
By: vb6boy
Viewed: 215 times

Categories

Visual Basic 6

Attachments

alphablend.zip
Posted: 9/2/2020 5:19:26 PM
Size: 597,888 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.