FPDFPath_LineTo function
- @Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, Float, Float)>(FPDF_PAGEOBJECT, ffi.Float, ffi.Float)>()
- FPDF_PAGEOBJECT path,
- double x,
- double y
Add a line between the current point and a new point in the path.
path - the handle to the path object. x - the horizontal position of the new point. y - the vertical position of the new point.
The path's current point is changed to (x, y).
Returns TRUE on success
Implementation
@ffi.Native<FPDF_BOOL Function(FPDF_PAGEOBJECT, ffi.Float, ffi.Float)>()
external int FPDFPath_LineTo(FPDF_PAGEOBJECT path, double x, double y);