diff options
author | Jane Liu <janeliulwq@google.com> | 2017-06-29 19:18:23 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-29 23:38:19 +0000 |
commit | baa7ff4390b8b36c2d58c1b1f8d9775c76da656a (patch) | |
tree | b734d22e51f6eab9753adf4c9af3c9dbf369c8c9 /fpdfsdk/fpdfview_c_api_test.c | |
parent | caf6d61fbb38083f213a9d3441e12c5082d3ad3a (diff) | |
download | pdfium-baa7ff4390b8b36c2d58c1b1f8d9775c76da656a.tar.xz |
Basic APIs and tests for extracting and setting annotation paths
1. Added APIs for retrieving existing annotation paths and setting
annotation paths.
* Added an embedder test testing all the new functions.
Bug=pdfium:737
Change-Id: Ic451bcd3be488261baf2182549c4238b887b219e
Reviewed-on: https://pdfium-review.googlesource.com/6676
Commit-Queue: Jane Liu <janeliulwq@google.com>
Reviewed-by: Lei Zhang <thestig@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 f9a3c387c2..94f4051bcd 100644 --- a/fpdfsdk/fpdfview_c_api_test.c +++ b/fpdfsdk/fpdfview_c_api_test.c @@ -42,6 +42,10 @@ int CheckPDFiumCApi() { CHK(FPDFPage_CloseAnnot); CHK(FPDFPage_RemoveAnnot); CHK(FPDFAnnot_GetSubtype); + CHK(FPDFAnnot_UpdatePathObject); + CHK(FPDFAnnot_AppendPathObject); + CHK(FPDFAnnot_GetPathObjectCount); + CHK(FPDFAnnot_GetPathObject); CHK(FPDFAnnot_SetColor); CHK(FPDFAnnot_GetColor); CHK(FPDFAnnot_HasAttachmentPoints); |