diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-12-10 14:49:23 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-12-10 14:49:23 -0800 |
commit | f32c969bce6743fca1e7ff796b54a1692d26d7f0 (patch) | |
tree | f35f0ae0c8505394b2f195f4ea849249668af170 /fpdfsdk/src/fpdfview.cpp | |
parent | 94edf0c37d1ee6a03697375b9e227071ff2ee69d (diff) | |
download | pdfium-f32c969bce6743fca1e7ff796b54a1692d26d7f0.tar.xz |
Remove CFX_AffineMatrix/CPDF_Matrix
These are synonyms for CFX_Matrix.
Nothing but sed and manual deletion of 2 #defines in
fpdf_parser.h and fx_coordinates.h
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1513363002 .
Diffstat (limited to 'fpdfsdk/src/fpdfview.cpp')
-rw-r--r-- | fpdfsdk/src/fpdfview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpdfsdk/src/fpdfview.cpp b/fpdfsdk/src/fpdfview.cpp index 99a3d90246..6f39dce209 100644 --- a/fpdfsdk/src/fpdfview.cpp +++ b/fpdfsdk/src/fpdfview.cpp @@ -562,10 +562,10 @@ DLLEXPORT void STDCALL FPDF_DeviceToPage(FPDF_PAGE page, return; UnderlyingPageType* pPage = UnderlyingFromFPDFPage(page); - CPDF_Matrix page2device; + CFX_Matrix page2device; pPage->GetDisplayMatrix(page2device, start_x, start_y, size_x, size_y, rotate); - CPDF_Matrix device2page; + CFX_Matrix device2page; device2page.SetReverse(page2device); FX_FLOAT page_x_f, page_y_f; @@ -591,7 +591,7 @@ DLLEXPORT void STDCALL FPDF_PageToDevice(FPDF_PAGE page, UnderlyingPageType* pPage = UnderlyingFromFPDFPage(page); if (!pPage) return; - CPDF_Matrix page2device; + CFX_Matrix page2device; pPage->GetDisplayMatrix(page2device, start_x, start_y, size_x, size_y, rotate); @@ -733,7 +733,7 @@ void FPDF_RenderPage_Retail(CRenderContext* pContext, pContext->m_pOptions->m_pOCContext = new CPDF_OCContext(pPage->m_pDocument, usage); - CFX_AffineMatrix matrix; + CFX_Matrix matrix; pPage->GetDisplayMatrix(matrix, start_x, start_y, size_x, size_y, rotate); FX_RECT clip; |