summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_view_c_api_test.c
diff options
context:
space:
mode:
authorxlou <xlou@chromium.org>2018-10-11 21:15:18 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-11 21:15:18 +0000
commitc7f66edd224446deefe68506b7ebed871eb5c8c2 (patch)
treeec6ea7d0c57c1d9211712b87846a1cdb33e5dbba /fpdfsdk/fpdf_view_c_api_test.c
parentbfc5f6011dd402a1fc07a522c3f25ab405f3e3ea (diff)
downloadpdfium-c7f66edd224446deefe68506b7ebed871eb5c8c2.tar.xz
Add functions to get/set ArtBox.chromium/3578
There are PDFs that use ArtBox. In some use cases, user may scale a page, scale up/down MediaBox and CropBox. So if ArtBox exists, it needs to be scaled as well. Bug:409670 Change-Id: I78ac7afa66942352277f856514bdd9b15dda270b Reviewed-on: https://pdfium-review.googlesource.com/c/43931 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Shirleen Lou <xlou@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r--fpdfsdk/fpdf_view_c_api_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c
index 0fc28c31f4..3aa40cacf2 100644
--- a/fpdfsdk/fpdf_view_c_api_test.c
+++ b/fpdfsdk/fpdf_view_c_api_test.c
@@ -332,9 +332,11 @@ int CheckPDFiumCApi() {
// fpdf_transformpage.h
CHK(FPDFPageObj_TransformClipPath);
+ CHK(FPDFPage_GetArtBox);
CHK(FPDFPage_GetCropBox);
CHK(FPDFPage_GetMediaBox);
CHK(FPDFPage_InsertClipPath);
+ CHK(FPDFPage_SetArtBox);
CHK(FPDFPage_SetCropBox);
CHK(FPDFPage_SetMediaBox);
CHK(FPDFPage_TransFormWithClip);