FPDFPath_LineTo method

int FPDFPath_LineTo(
  1. FPDF_PAGEOBJECT path,
  2. double x,
  3. 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

int FPDFPath_LineTo(FPDF_PAGEOBJECT path, double x, double y) {
  return _FPDFPath_LineTo(path, x, y);
}