FPDFPath_CountSegments method
Get number of segments inside |path|.
path - handle to a path.
A segment is a command, created by e.g. FPDFPath_MoveTo(), FPDFPath_LineTo() or FPDFPath_BezierTo().
Returns the number of objects in |path| or -1 on failure.
Implementation
int FPDFPath_CountSegments(FPDF_PAGEOBJECT path) {
return _FPDFPath_CountSegments(path);
}