FPDFPath_MoveTo function

  1. @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Float, Float)>(FPDF_PAGEOBJECT, ffi.Float, ffi.Float)>()
int FPDFPath_MoveTo(
  1. FPDF_PAGEOBJECT path,
  2. double x,
  3. double y
)

Move a path's current point.

path - the handle to the path object. x - the horizontal position of the new current point. y - the vertical position of the new current point.

Note that no line will be created between the previous current point and the new one.

Returns TRUE on success

Implementation

@ffi.Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, ffi.Float, ffi.Float)>()
external int FPDFPath_MoveTo(FPDF_PAGEOBJECT path, double x, double y);