FPDFPath_LineTo method
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
int FPDFPath_LineTo(FPDF_PAGEOBJECT path, double x, double y) {
return _FPDFPath_LineTo(path, x, y);
}