diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-06-04 14:47:17 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-04 14:47:17 +0000 |
commit | 97f4d67fbf0707feea298afa2f6471013185e066 (patch) | |
tree | 8591d399806c5d441e646a3f879227574e9217b4 /fpdfsdk/fpdf_view_c_api_test.c | |
parent | 714bf7821d2de6249d2779424c47027a981d5032 (diff) | |
download | pdfium-97f4d67fbf0707feea298afa2f6471013185e066.tar.xz |
Add FPDFPath_GetMatrix() and FPDFPath_SetMatrix() APIs
This is similar to the existing FPDFImageObj_SetMatrix(), but this
exposes the matrix of CPDF_PathObject and provides both a getter and a
setter.
Change-Id: Ib90a64929dae1b2be3889eca57e4af822d7823be
Reviewed-on: https://pdfium-review.googlesource.com/33670
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/fpdf_view_c_api_test.c')
-rw-r--r-- | fpdfsdk/fpdf_view_c_api_test.c | 2 |
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 dd97a6e330..34ac5518a3 100644 --- a/fpdfsdk/fpdf_view_c_api_test.c +++ b/fpdfsdk/fpdf_view_c_api_test.c @@ -183,6 +183,7 @@ int CheckPDFiumCApi() { CHK(FPDFPath_CountSegments); CHK(FPDFPath_GetDrawMode); CHK(FPDFPath_GetFillColor); + CHK(FPDFPath_GetMatrix); CHK(FPDFPath_GetPathSegment); CHK(FPDFPath_GetStrokeColor); CHK(FPDFPath_LineTo); @@ -191,6 +192,7 @@ int CheckPDFiumCApi() { CHK(FPDFPath_SetFillColor); CHK(FPDFPath_SetLineCap); CHK(FPDFPath_SetLineJoin); + CHK(FPDFPath_SetMatrix); CHK(FPDFPath_SetStrokeColor); CHK(FPDFPath_SetStrokeWidth); CHK(FPDFText_LoadFont); |