Click or drag to resize

PdfiumFFPDFBitmap_TransformTo Method

Clone and transform the bitmap with the specified transformation matrix.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IntPtr FFPDFBitmap_TransformTo(
	IntPtr bitmap,
	FS_MATRIX matrix,
	ref int left,
	ref int top,
	ImageInterpolation flags = ImageInterpolation.Default,
	FX_RECT pClip = null
)

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

IntPtr
A 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