summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorJane Liu <janeliulwq@google.com>2017-06-19 10:44:01 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-19 15:57:34 +0000
commit3b05743bd072d936f56250514d6b18bfbbde85bf (patch)
treeb5c046b9e65d2d36f5b837ceb711fceee6585b56 /fpdfsdk/fpdfview_c_api_test.c
parent54d91ecc4cedd07da6ff599285ac12168c146129 (diff)
downloadpdfium-3b05743bd072d936f56250514d6b18bfbbde85bf.tar.xz
Added public API FPDFPath_GetStrokeColor
There is already public APIs for SetFillColor, GetFillColor, and SetStrokeColor; this is the only one missing. This function is helpful to have when extracting path information from annotations. Change-Id: I2bf80a1dc5433e65bbb1d005c0e609d01c9133be Reviewed-on: https://pdfium-review.googlesource.com/6710 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@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 b7752775a3..c8fdc47b51 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -109,6 +109,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPageObj_CreateNewPath);
CHK(FPDFPageObj_CreateNewRect);
CHK(FPDFPath_SetStrokeColor);
+ CHK(FPDFPath_GetStrokeColor);
CHK(FPDFPath_SetStrokeWidth);
CHK(FPDFPath_SetFillColor);
CHK(FPDFPath_GetFillColor);