 | PdfiumFPDFBitmap_CompositeBitmap Method |
Composites bitmaps that have transparent or semitransparent pixels.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static bool FPDFBitmap_CompositeBitmap(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pSrcBitmap,
int src_left,
int src_top,
BlendTypes blend_type = BlendTypes.FXDIB_BLEND_NORMAL,
FX_RECT pClipRgn = null,
bool bRgbByteOrder = false
)
Public Shared Function FPDFBitmap_CompositeBitmap (
bitmap As IntPtr,
dest_left As Integer,
dest_top As Integer,
width As Integer,
height As Integer,
pSrcBitmap As IntPtr,
src_left As Integer,
src_top As Integer,
Optional blend_type As BlendTypes = BlendTypes.FXDIB_BLEND_NORMAL,
Optional pClipRgn As FX_RECT = Nothing,
Optional bRgbByteOrder As Boolean = false
) As Boolean
public:
static bool FPDFBitmap_CompositeBitmap(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pSrcBitmap,
int src_left,
int src_top,
BlendTypes blend_type = BlendTypes::FXDIB_BLEND_NORMAL,
FX_RECT^ pClipRgn = nullptr,
bool bRgbByteOrder = false
)
static member FPDFBitmap_CompositeBitmap :
bitmap : IntPtr *
dest_left : int *
dest_top : int *
width : int *
height : int *
pSrcBitmap : IntPtr *
src_left : int *
src_top : int *
?blend_type : BlendTypes *
?pClipRgn : FX_RECT *
?bRgbByteOrder : bool
(* Defaults:
let _blend_type = defaultArg blend_type BlendTypes.FXDIB_BLEND_NORMAL
let _pClipRgn = defaultArg pClipRgn null
let _bRgbByteOrder = defaultArg bRgbByteOrder false
*)
-> bool
public static boolean FPDFBitmap_CompositeBitmap(
IntPtr bitmap,
int dest_left,
int dest_top,
int width,
int height,
IntPtr pSrcBitmap,
int src_left,
int src_top,
BlendTypes blend_type = BlendTypes.FXDIB_BLEND_NORMAL,
FX_RECT pClipRgn = null,
boolean bRgbByteOrder = false
)
Patagames.Pdf.Pdfium.FPDFBitmap_CompositeBitmap = function(bitmap, dest_left, dest_top, width, height, pSrcBitmap, src_left, src_top, blend_type, pClipRgn, bRgbByteOrder);
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
- pSrcBitmap IntPtr
- A handle to the sourcde device independent bitmap.
- 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
Return Value
BooleanTRUE if succeed, FALSE if failed.
See Also