FPDFPageObj_SetMatrix method

int FPDFPageObj_SetMatrix(
  1. FPDF_PAGEOBJECT page_object,
  2. 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

int FPDFPageObj_SetMatrix(
  FPDF_PAGEOBJECT page_object,
  ffi.Pointer<FS_MATRIX> matrix,
) {
  return _FPDFPageObj_SetMatrix(page_object, matrix);
}