AlphaBlend method (ILEADRasterProcess)
short AlphaBlend(ILEADRaster *pRaster, float fLeft, float fTop, float fWidth, float fHeight, ILEADRaster *pRasterSrc, float fSrcLeft, float fSrcTop, short iOpacity); | |
Overview |
Refer to Combining Images. |
Remarks
Combines image data from two bitmaps, using the specified opacity value.
The opacity determines how much the destination bitmap will show through the source bitmap. For example, if the opacity is 255 (completely opaque) then the source image will appear and the destination image will not show through the source image at all. If the opacity is 128 (half opacity), then the pixels for that area will consist of 50 percent from the source image and 50 percent from the destination image.
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.
This method does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this method.
See Also
Elements: |
Underlay method, Combine method, FeatherAlphaBlend method, CreateFadedMask method |
Topics: |
|
|