FPDFImageObj_SetMatrix method

int FPDFImageObj_SetMatrix(
  1. FPDF_PAGEOBJECT image_object,
  2. double a,
  3. double b,
  4. double c,
  5. double d,
  6. double e,
  7. double f,
)

Set the transform matrix of |image_object|.

image_object - handle to an image 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 |image_object|.

Returns TRUE on success.

Implementation

int FPDFImageObj_SetMatrix(
  FPDF_PAGEOBJECT image_object,
  double a,
  double b,
  double c,
  double d,
  double e,
  double f,
) {
  return _FPDFImageObj_SetMatrix(image_object, a, b, c, d, e, f);
}