 | PdfiumFFPDFBitmap_TransformTo Method |
Clone and transform the bitmap with the specified transformation matrix.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FFPDFBitmap_TransformTo(
IntPtr bitmap,
FS_MATRIX matrix,
ref int left,
ref int top,
ImageInterpolation flags = ImageInterpolation.Default,
FX_RECT pClip = null
)
Public Shared Function FFPDFBitmap_TransformTo (
bitmap As IntPtr,
matrix As FS_MATRIX,
ByRef left As Integer,
ByRef top As Integer,
Optional flags As ImageInterpolation = ImageInterpolation.Default,
Optional pClip As FX_RECT = Nothing
) As IntPtr
public:
static IntPtr FFPDFBitmap_TransformTo(
IntPtr bitmap,
FS_MATRIX^ matrix,
int% left,
int% top,
ImageInterpolation flags = ImageInterpolation::Default,
FX_RECT^ pClip = nullptr
)
static member FFPDFBitmap_TransformTo :
bitmap : IntPtr *
matrix : FS_MATRIX *
left : int byref *
top : int byref *
?flags : ImageInterpolation *
?pClip : FX_RECT
(* Defaults:
let _flags = defaultArg flags ImageInterpolation.Default
let _pClip = defaultArg pClip null
*)
-> IntPtr
public static IntPtr FFPDFBitmap_TransformTo(
IntPtr bitmap,
FS_MATRIX matrix,
/** @ref */int left,
/** @ref */int top,
ImageInterpolation flags = ImageInterpolation.Default,
FX_RECT pClip = null
)
Patagames.Pdf.Pdfium.FFPDFBitmap_TransformTo = function(bitmap, matrix, left, top, flags, pClip);
Parameters
- bitmap IntPtr
- A handle to the device independent bitmap.
- matrix FS_MATRIX
- Transformation matrix.
- left Int32
- A pointer to a integer value that receives the new X coordinate of the bitmap.
- top Int32
- A pointer to a integer value that receives the new Y coordinate of the bitmap.
- flags ImageInterpolation (Optional)
- A flag indicating the interpolation mode.
- pClip FX_RECT (Optional)
- Clipping area.
Return Value
IntPtrA bitmap descriptor containing copied pixels.
When an application is finished using the bitmap handle returned by
FFPDFBitmap_TransformTo(IntPtr, FS_MATRIX, Int32, Int32, ImageInterpolation, FX_RECT),
use the
FPDFBitmap_Destroy(IntPtr) function to close the handle.
See Also