FPDFPath_GetDrawMode function

  1. @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Pointer<Int>, Pointer<Int>)>(FPDF_PAGEOBJECT, ffi.Pointer<ffi.Int>, ffi.Pointer<FPDF_BOOL>)>()
int FPDFPath_GetDrawMode(
  1. FPDF_PAGEOBJECT path,
  2. Pointer<Int> fillmode,
  3. Pointer<Int> stroke
)

Get the drawing mode of a path.

path - the handle to the path object. fillmode - the filling mode of the path: one of the FPDF_FILLMODE_* flags. stroke - a boolean specifying if the path is stroked or not.

Returns TRUE on success

Implementation

@ffi.Native<
  FPDF_BOOL Function(
    FPDF_PAGEOBJECT,
    ffi.Pointer<ffi.Int>,
    ffi.Pointer<FPDF_BOOL>,
  )
>()
external int FPDFPath_GetDrawMode(
  FPDF_PAGEOBJECT path,
  ffi.Pointer<ffi.Int> fillmode,
  ffi.Pointer<FPDF_BOOL> stroke,
);