FPDFPageObj_Transform function

  1. @Native<Void Function(FPDF_PAGEOBJECT, Double, Double, Double, Double, Double, Double)>(FPDF_PAGEOBJECT, ffi.Double, ffi.Double, ffi.Double, ffi.Double, ffi.Double, ffi.Double)>()
void FPDFPageObj_Transform(
  1. FPDF_PAGEOBJECT page_object,
  2. double a,
  3. double b,
  4. double c,
  5. double d,
  6. double e,
  7. double f,
)

Transform |page_object| by the given matrix.

page_object - handle to a page object. a - matrix value. b - matrix value. c - matrix value. d - matrix value. e - matrix value. f - 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|.

Implementation

@ffi.Native<
  ffi.Void Function(
    FPDF_PAGEOBJECT,
    ffi.Double,
    ffi.Double,
    ffi.Double,
    ffi.Double,
    ffi.Double,
    ffi.Double,
  )
>()
external void FPDFPageObj_Transform(
  FPDF_PAGEOBJECT page_object,
  double a,
  double b,
  double c,
  double d,
  double e,
  double f,
);