by Carles P.V. (53 Submissions)
Category: Graphics
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (15 Votes)
Simple rendering/painting class for 'drop-shadow' effect. Three methods: CreateFromStdPicture, CreateFromDC and Paint. Shadow options: opacity [0,100], xOffset [1+] and yOffset [1+]. // 5Kb. __________________________________________________ Added 'ShadowColor' option and slightly improved 'pvRenderDropShadow' routine (now maping DIB bits: no buffers and '1-pass' blurring). __________________________________________________ Icons supported. New generic method name: CreateFromHandle(). __________________________________________________ Fixed shadow left-top edges.