Available in the LEADTOOLS Imaging toolkit. |
FeatherAlphaBlend method (Main Control)
Visual
Basic example
Visual
C++ 5.0 example
Syntax short FeatherAlphaBlend(float fLeft, float fTop, float fWidth, float fHeight, OLE_HANDLE hBitmapSrc, float fSrcLeft, float fSrcTop, OLE_HANDLE hBitmapMask);
Overview: Refer to Combining Images.
Remarks
(DigitalPaint only) Combines image data from two bitmaps with feathering, by combining the two bitmaps with a variable opacity that depends on a fade mask. This method is only available in the DigitalPaint toolkits.
To combine two bitmaps with a fixed opacity, use the AlphaBlend method.
The FeatherAlphaBlend method achieves feathering between two bitmaps by using variable opacity values, obtained from the fade mask referenced by hBitmapMask.
To create a bitmap that contains a fade mask, use the CreateFadedMask method.
This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.
See Also
Elements: Underlay method, Combine method, AlphaBlend method, CreateFadedMask method