Alpha blend or combine a sub part image with the current dib image.
The bit depth of the dst bitmap must be greater than or equal to the bit depth of the src.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool Paste( FIBITMAP dst, FIBITMAP src, int left, int top, int alpha ) |
Visual Basic (Declaration) |
---|
Public Shared Function Paste ( _ dst As FIBITMAP, _ src As FIBITMAP, _ left As Integer, _ top As Integer, _ alpha As Integer _ ) As Boolean |
Visual C++ |
---|
public: static bool Paste( FIBITMAP dst, FIBITMAP src, int left, int top, int alpha ) |
Parameters
- dst
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- src
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- left
- Type: System..::.Int32
Specifies the left position of the sub image.
- top
- Type: System..::.Int32
Specifies the top position of the sub image.
- alpha
- Type: System..::.Int32
alpha blend factor. The source and destination images are alpha blended if alpha=0..255. If alpha > 255, then the source image is combined to the destination image.