FPDFPath_GetPathSegment function

  1. @Native<FPDF_PATHSEGMENT Function(FPDF_PAGEOBJECT, Int)>(FPDF_PAGEOBJECT, ffi.Int)>()
FPDF_PATHSEGMENT FPDFPath_GetPathSegment(
  1. FPDF_PAGEOBJECT path,
  2. int index
)

Get segment in |path| at |index|.

path - handle to a path. index - the index of a segment.

Returns the handle to the segment, or NULL on faiure.

Implementation

@ffi.Native<FPDF_PATHSEGMENT Function(FPDF_PAGEOBJECT, ffi.Int)>()
external FPDF_PATHSEGMENT FPDFPath_GetPathSegment(
  FPDF_PAGEOBJECT path,
  int index,
);