FPDFPageObj_SetMatrix function
- @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Pointer<
FS_MATRIX> )>(FPDF_PAGEOBJECT, ffi.Pointer<FS_MATRIX>)>()
- FPDF_PAGEOBJECT page_object,
- Pointer<
FS_MATRIX> matrix
Experimental API. Set the transform matrix of a page object.
page_object - handle to a page object. matrix - pointer to struct with the matrix value.
The matrix is composed as: |a c e| |b d f| and can be used to scale, rotate, shear and translate the page object.
Returns TRUE on success.
Implementation
@ffi.Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, ffi.Pointer<FS_MATRIX>)>()
external int FPDFPageObj_SetMatrix(
FPDF_PAGEOBJECT page_object,
ffi.Pointer<FS_MATRIX> matrix,
);