diff options
Diffstat (limited to 'public/fpdf_edit.h')
-rw-r--r-- | public/fpdf_edit.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h index 22582674ea..9ee11cb5ec 100644 --- a/public/fpdf_edit.h +++ b/public/fpdf_edit.h @@ -552,6 +552,16 @@ FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_GetFillColor(FPDF_PAGEOBJECT path, unsigned int* B, unsigned int* A); +// Get number of point objects inside |path|. +// +// path - handle to a path. +// +// A point object is a command, created by e.g. FPDFPath_MoveTo() or +// FPDFPath_LineTo(). +// +// Returns the number of objects in |path| or -1 on failure. +FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountPoint(FPDF_PAGEOBJECT path); + // Move a path's current point. // // path - the handle to the path object. |