summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview_c_api_test.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@vmiklos.hu>2017-04-05 09:24:50 +0200
committerChromium commit bot <commit-bot@chromium.org>2017-04-05 14:20:44 +0000
commited4705b4db1405a5abef99ad1b2725eee65fedf8 (patch)
tree5859f16ae867c7b91abbdb2ed85c7f7946a1949c /fpdfsdk/fpdfview_c_api_test.c
parent0fbb50c2419ee95a95f29a4e757ba2408a4bc6b0 (diff)
downloadpdfium-ed4705b4db1405a5abef99ad1b2725eee65fedf8.tar.xz
Add public method FPDFPath_GetFillColor to get fill color of a path object.
It was already possible to set the fill color, this is the other direction. Change-Id: Id53f3c9969ca036ec1f9383a2cdbaf224395215f Reviewed-on: https://pdfium-review.googlesource.com/3690 Commit-Queue: Nicolás Peña <npm@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 9afbdd479e..b4da951947 100644
--- a/fpdfsdk/fpdfview_c_api_test.c
+++ b/fpdfsdk/fpdfview_c_api_test.c
@@ -93,6 +93,7 @@ int CheckPDFiumCApi() {
CHK(FPDFPath_SetStrokeColor);
CHK(FPDFPath_SetStrokeWidth);
CHK(FPDFPath_SetFillColor);
+ CHK(FPDFPath_GetFillColor);
CHK(FPDFPath_MoveTo);
CHK(FPDFPath_LineTo);
CHK(FPDFPath_BezierTo);