FPDFText_GetMatrix method

int FPDFText_GetMatrix(
  1. FPDF_TEXTPAGE text_page,
  2. int index,
  3. Pointer<FS_MATRIX> matrix
)

Experimental API. Function: FPDFText_GetMatrix Get the effective transformation matrix for a particular character. Parameters: text_page - Handle to a text page information structure. Returned by FPDFText_LoadPage(). index - Zero-based index of the character. matrix - Pointer to a FS_MATRIX receiving the transformation matrix. Return Value: On success, return TRUE and fill in |matrix|. If |text_page| is invalid, or if |index| is out of bounds, or if |matrix| is NULL, then return FALSE, and |matrix| remains unmodified.

Implementation

int FPDFText_GetMatrix(
  FPDF_TEXTPAGE text_page,
  int index,
  ffi.Pointer<FS_MATRIX> matrix,
) {
  return _FPDFText_GetMatrix(text_page, index, matrix);
}