summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdf_view_c_api_test.c
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-08-14 19:15:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-14 19:15:43 +0000
commit46b437333e53295869afde696ed31043c1f6c717 (patch)
tree25c8b199bd5b601d18c1c87f8e20bae9c8510c50 /fpdfsdk/fpdf_view_c_api_test.c
parent9e4a66449a227ca2a9e62d2f83fdc35f11bb5e2d (diff)
downloadpdfium-46b437333e53295869afde696ed31043c1f6c717.tar.xz
Add FPDFFormObj_GetMatrix() API
This is similar to FPDFText_GetMatrix() (wrapping CPDF_TextObject::GetTextMatrix()) and FPDFPath_GetMatrix() (wrapping CPDF_PathObject::m_Matrix), but wraps the matrix of form objects: CPDF_FormObject::form_matrix(). Change-Id: Ic4ce7ad8050012f54de356bb936263d3e4f097ca Reviewed-on: https://pdfium-review.googlesource.com/39930 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r--fpdfsdk/fpdf_view_c_api_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fpdfsdk/fpdf_view_c_api_test.c b/fpdfsdk/fpdf_view_c_api_test.c
index 7dbe164932..d92ae78d65 100644
--- a/fpdfsdk/fpdf_view_c_api_test.c
+++ b/fpdfsdk/fpdf_view_c_api_test.c
@@ -127,6 +127,7 @@ int CheckPDFiumCApi() {
// fpdf_edit.h
CHK(FPDFFont_Close);
CHK(FPDFFormObj_CountObjects);
+ CHK(FPDFFormObj_GetMatrix);
CHK(FPDFFormObj_GetObject);
CHK(FPDFImageObj_GetBitmap);
CHK(FPDFImageObj_GetImageDataDecoded);