summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-09-21 21:46:56 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-09-22 13:47:46 +0000
commit0150a5455829ede62017bc24ed9c4bcdc1cafef2 (patch)
tree27e595f415590d75af16bdcb6531c05cd6b01d93 /public
parent09b5ce623fc47bc3d19d60aa2a219c838971dd4b (diff)
downloadpdfium-0150a5455829ede62017bc24ed9c4bcdc1cafef2.tar.xz
API: rename FPDFPath_CountPoint() to FPDFPath_CountSegments()
This was the last place talking about "point objects". Change-Id: Ib5f5d5b8efdd674ca5902ff82c2bd4d9f2db8bb1 Reviewed-on: https://pdfium-review.googlesource.com/14651 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'public')
-rw-r--r--public/fpdf_edit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/fpdf_edit.h b/public/fpdf_edit.h
index d73a740efd..6e4f9a4ae8 100644
--- a/public/fpdf_edit.h
+++ b/public/fpdf_edit.h
@@ -559,15 +559,15 @@ FPDF_EXPORT FPDF_BOOL FPDF_CALLCONV FPDFPath_GetFillColor(FPDF_PAGEOBJECT path,
unsigned int* A);
// Experimental API.
-// Get number of point objects inside |path|.
+// Get number of segments inside |path|.
//
// path - handle to a path.
//
-// A point object is a command, created by e.g. FPDFPath_MoveTo() or
-// FPDFPath_LineTo().
+// 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.
-FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountPoint(FPDF_PAGEOBJECT path);
+FPDF_EXPORT int FPDF_CALLCONV FPDFPath_CountSegments(FPDF_PAGEOBJECT path);
// Experimental API.
// Get segment in |path| at |index|.