diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-09-20 22:52:43 +0200 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-09-20 21:04:08 +0000 |
commit | 36eed87d19e741be9909500c45dd12e50ff6a1ab (patch) | |
tree | 7311bbf0ba29245308ca79b34acb22086d6cbdd0 /fpdfsdk/fpdfview_c_api_test.c | |
parent | 0c2e705f8d8dec68c1afc8344872fe8bee527c48 (diff) | |
download | pdfium-36eed87d19e741be9909500c45dd12e50ff6a1ab.tar.xz |
Add FPDFPath_GetPoint() APIchromium/3221
Combined with the previously added FPDFPath_CountPoint(), this allows
getting the coordinates of all points of a path.
Change-Id: Ic969723d4b01ee427498d38ce323c74147b87a9c
Reviewed-on: https://pdfium-review.googlesource.com/14111
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdfview_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdfview_c_api_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview_c_api_test.c b/fpdfsdk/fpdfview_c_api_test.c index 415543dbe2..b3fe303eac 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -149,6 +149,10 @@ int CheckPDFiumCApi() { CHK(FPDFPath_SetFillColor); CHK(FPDFPath_GetFillColor); CHK(FPDFPath_CountPoint); + CHK(FPDFPath_GetPathSegment); + CHK(FPDFPathSegment_GetPoint); + CHK(FPDFPathSegment_GetType); + CHK(FPDFPathSegment_GetClose); CHK(FPDFPath_MoveTo); CHK(FPDFPath_LineTo); CHK(FPDFPath_BezierTo); |