FPDFPath_SetDrawMode function

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

Set the drawing mode of a path.

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

Returns TRUE on success

Implementation

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