Tools Links Login

VisualEffects #3 - The AlphaBlending (by MrHippo)

And now for the 3rd sample in the popular VisualEffects series, the AlphaBlending. Alphablending tehnique was introduced in Windows 98. It allows you to blend two images smoothly by selecting image's transparency. Well commented and don't forget to check out VisualEffects #1 & #2, the translucency and transparency. Also, if like it or not, please vote & comment and encourage me and all of us to keep on providing each other with coded solutions. Thank you, MrHippo

Original Author: unknown

API Declarations

' API DECLARATION [ ALPHA BLEND FUNCTION ]
Private Declare Function AlphaBlend Lib "msimg32" ( _
ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, _
ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, _
ByVal xSrc As Long, ByVal ySrc As Long, ByVal widthSrc As Long, _
ByVal heightSrc As Long, ByVal blendFunct As Long) As Boolean
' API DECLARATIONS [ COPY MEMORY FUNCTION ]
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
Destination As Any, Source As Any, ByVal Length As Long)

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 97 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD13543182001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 22,853 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.