summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-09-15 07:49:03 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-09-15 06:03:35 +0000
commit12abfd04a42a1166f7d1496beb63515bc47ec360 (patch)
tree573057f4cf24780bdf17d2ac113e48eec0897780 /fpdfsdk/fpdfview_c_api_test.c
parent69fe7110e6af83ca82d71275a70ae4983daddd6f (diff)
downloadpdfium-12abfd04a42a1166f7d1496beb63515bc47ec360.tar.xz
Add public method FPDFPath_CountPoint to get # of points of a path object.
It was already possible to get the fill color, this exposes the number of points. Naming attempts to be consistent with existing FPDFPage_CountObject(). Change-Id: I79e8dd9f0c077de84ce9017a01d239e48e58174a Reviewed-on: https://pdfium-review.googlesource.com/13592 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r--fpdfsdk/fpdfview_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c
index 6f84f353aa..415543dbe2 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -148,6 +148,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPath_SetStrokeWidth);
CHK(FPDFPath_SetFillColor);
CHK(FPDFPath_GetFillColor);
+ CHK(FPDFPath_CountPoint);
CHK(FPDFPath_MoveTo);
CHK(FPDFPath_LineTo);
CHK(FPDFPath_BezierTo);