Click or drag to resize

PdfiumFPDFBitmap_CompositeMask Method

Composites specified bitmap and mask.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static bool FPDFBitmap_CompositeMask(
	IntPtr bitmap,
	int dest_left,
	int dest_top,
	int width,
	int height,
	IntPtr pMaskBitmap,
	uint color,
	int src_left,
	int src_top,
	BlendTypes blend_type = BlendTypes.FXDIB_BLEND_NORMAL,
	FX_RECT pClipRgn = null,
	bool bRgbByteOrder = false,
	int alpha_flag = 0
)

Parameters

bitmap  IntPtr
A handle to the destination device independent bitmap.
dest_left  Int32
The left point in the destination bitmap
dest_top  Int32
The top point in the destination bitmap
width  Int32
The width
height  Int32
The height
pMaskBitmap  IntPtr
A handle to the device independent bitmap, that represents transparency mask.
color  UInt32
Mask color
src_left  Int32
The left point in the source bitmap
src_top  Int32
The top point in the source bitmap
blend_type  BlendTypes  (Optional)
The BlendTypes controls blending by specifying the blending type for source and destination bitmaps.
pClipRgn  FX_RECT  (Optional)
Clipping region
bRgbByteOrder  Boolean  (Optional)
Byte order
alpha_flag  Int32  (Optional)
alpha flag

Return Value

Boolean
TRUE if succeed, FALSE if failed.
See Also