diff options
author | Nicolas Pena <npm@chromium.org> | 2018-05-08 22:22:41 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-08 22:22:41 +0000 |
commit | df1298a228abb59eb167d0be43d46a50c0333497 (patch) | |
tree | 9dd021fd3a97f2208367faa7737985821896a05f /fpdfsdk/fpdf_view_c_api_test.c | |
parent | 7b094f81483240f50dfc12e51cf545a8f0d5933d (diff) | |
download | pdfium-df1298a228abb59eb167d0be43d46a50c0333497.tar.xz |
Add several FPDFPageObj_* APIschromium/3425
This CL adds the following APIs:
FPDFPageObj_SetStrokeColor
FPDFPageObj_GetStrokeColor
FPDFPageObj_SetStrokeWidth
FPDFPageObj_SetLineJoin
FPDFPageObj_SetLineCap
FPDFPageObj_SetFillColor
FPDFPageObj_GetFillColor
Bug: pdfium:980
Change-Id: I19f9abb6756314ba8bd2f66a6c38e2e722cd8473
Reviewed-on: https://pdfium-review.googlesource.com/32192
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdf_view_c_api_test.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c index 782d35d702..15d893d77c 100644 --- a/fpdfsdk/fpdf_view_c_api_test.c +++ b/fpdfsdk/fpdf_view_c_api_test.c @@ -166,10 +166,15 @@ int CheckPDFiumCApi() { CHK(FPDFPageObj_CreateNewPath); CHK(FPDFPageObj_CreateNewRect); CHK(FPDFPath_SetStrokeColor); + CHK(FPDFPageObj_SetStrokeColor); CHK(FPDFPath_GetStrokeColor); + CHK(FPDFPageObj_GetStrokeColor); CHK(FPDFPath_SetStrokeWidth); + CHK(FPDFPageObj_SetStrokeWidth); CHK(FPDFPath_SetFillColor); + CHK(FPDFPageObj_SetFillColor); CHK(FPDFPath_GetFillColor); + CHK(FPDFPageObj_GetFillColor); CHK(FPDFPath_CountSegments); CHK(FPDFPath_GetPathSegment); CHK(FPDFPathSegment_GetPoint); @@ -181,7 +186,9 @@ int CheckPDFiumCApi() { CHK(FPDFPath_Close); CHK(FPDFPath_SetDrawMode); CHK(FPDFPath_SetLineCap); + CHK(FPDFPageObj_SetLineCap); CHK(FPDFPath_SetLineJoin); + CHK(FPDFPageObj_SetLineJoin); CHK(FPDFPageObj_NewTextObj); CHK(FPDFText_SetText); CHK(FPDFText_SetFillColor); |