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 /core/src/fpdftext/fpdf_text.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 'core/src/fpdftext/fpdf_text.cpp')
-rw-r--r-- | core/src/fpdftext/fpdf_text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fpdftext/fpdf_text.cpp b/core/src/fpdftext/fpdf_text.cpp index e70d0e0e4b..9a967e62fd 100644 --- a/core/src/fpdftext/fpdf_text.cpp +++ b/core/src/fpdftext/fpdf_text.cpp @@ -69,7 +69,7 @@ void CTextPage::ProcessObject(CPDF_PageObject* pObject) { } if (pText->m_TextState.GetBaselineAngle() != 0) { int cc = 0; - CFX_AffineMatrix matrix; + CFX_Matrix matrix; pText->GetTextMatrix(&matrix); for (int i = 0; i < pText->m_nChars; i++) { FX_DWORD charcode = pText->m_nChars == 1 @@ -707,7 +707,7 @@ static void CheckRotate(CPDF_Page& page, CFX_FloatRect& page_bbox) { if (total_count == 0) { return; } - CFX_AffineMatrix matrix; + CFX_Matrix matrix; if (rotated_count[0] > total_count * 2 / 3) { matrix.Set(0, -1, 1, 0, 0, page.GetPageHeight()); } else if (rotated_count[1] > total_count * 2 / 3) { |