FPDFDest_GetView function

  1. @Native<UnsignedLong Function(FPDF_DEST, Pointer<UnsignedLong>, Pointer<Float>)>(FPDF_DEST, ffi.Pointer<ffi.UnsignedLong>, ffi.Pointer<FS_FLOAT>)>()
int FPDFDest_GetView(
  1. FPDF_DEST dest,
  2. Pointer<UnsignedLong> pNumParams,
  3. Pointer<Float> pParams
)

Experimental API. Get the view (fit type) specified by |dest|.

dest - handle to the destination. pNumParams - receives the number of view parameters, which is at most 4. pParams - buffer to write the view parameters. Must be at least 4 FS_FLOATs long. Returns one of the PDFDEST_VIEW_* constants, PDFDEST_VIEW_UNKNOWN_MODE if |dest| does not specify a view.

Implementation

@ffi.Native<
  ffi.UnsignedLong Function(
    FPDF_DEST,
    ffi.Pointer<ffi.UnsignedLong>,
    ffi.Pointer<FS_FLOAT>,
  )
>()
external int FPDFDest_GetView(
  FPDF_DEST dest,
  ffi.Pointer<ffi.UnsignedLong> pNumParams,
  ffi.Pointer<FS_FLOAT> pParams,
);