diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-12-10 15:34:55 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-12-10 15:34:55 -0800 |
commit | 60d909e9d4444b2b8582275624ee97734d331a38 (patch) | |
tree | 6a884e5dd0c785c141919531033de7e2fc5b0e01 /core/src/fpdftext/text_int.h | |
parent | 33c8c7602f8981c32d37a9b2e25496401e914391 (diff) | |
download | pdfium-60d909e9d4444b2b8582275624ee97734d331a38.tar.xz |
Merge to XFA: Remove CFX_AffineMatrix/CPDF_Matrix
Review URL: https://codereview.chromium.org/1513363002 .
(cherry picked from commit f32c969bce6743fca1e7ff796b54a1692d26d7f0)
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1519693002 .
Diffstat (limited to 'core/src/fpdftext/text_int.h')
-rw-r--r-- | core/src/fpdftext/text_int.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/src/fpdftext/text_int.h b/core/src/fpdftext/text_int.h index e68ead7741..4688bbf1ce 100644 --- a/core/src/fpdftext/text_int.h +++ b/core/src/fpdftext/text_int.h @@ -34,7 +34,7 @@ typedef struct _PAGECHAR_INFO { int32_t m_Flag; CFX_FloatRect m_CharBox; CPDF_TextObject* m_pTextObj; - CFX_AffineMatrix m_Matrix; + CFX_Matrix m_Matrix; int m_Index; } PAGECHAR_INFO; typedef CFX_SegmentedArray<PAGECHAR_INFO> PAGECHAR_InfoArray; @@ -45,7 +45,7 @@ typedef struct { typedef CFX_ArrayTemplate<FPDF_SEGMENT> SEGMENT_Array; typedef struct { CPDF_TextObject* m_pTextObj; - CFX_AffineMatrix m_formMatrix; + CFX_Matrix m_formMatrix; } PDFTEXT_Obj; typedef CFX_ArrayTemplate<PDFTEXT_Obj> LINEOBJ; @@ -103,13 +103,13 @@ class CPDF_TextPage : public IPDF_TextPage { FX_BOOL GetBaselineRotate(int start, int end, int& Rotate); void ProcessObject(); void ProcessFormObject(CPDF_FormObject* pFormObj, - const CFX_AffineMatrix& formMatrix); + const CFX_Matrix& formMatrix); void ProcessTextObject(PDFTEXT_Obj pObj); void ProcessTextObject(CPDF_TextObject* pTextObj, - const CFX_AffineMatrix& formMatrix, + const CFX_Matrix& formMatrix, FX_POSITION ObjPos); int ProcessInsertObject(const CPDF_TextObject* pObj, - const CFX_AffineMatrix& formMatrix); + const CFX_Matrix& formMatrix); FX_BOOL GenerateCharInfo(FX_WCHAR unicode, PAGECHAR_INFO& info); FX_BOOL IsSameAsPreTextObject(CPDF_TextObject* pTextObj, FX_POSITION ObjPos); FX_BOOL IsSameTextObject(CPDF_TextObject* pTextObj1, @@ -140,9 +140,9 @@ class CPDF_TextPage : public IPDF_TextPage { CFX_WideTextBuf m_TempTextBuf; const int m_parserflag; CPDF_TextObject* m_pPreTextObj; - CFX_AffineMatrix m_perMatrix; + CFX_Matrix m_perMatrix; bool m_bIsParsed; - CFX_AffineMatrix m_DisplayMatrix; + CFX_Matrix m_DisplayMatrix; SEGMENT_Array m_Segment; CFX_RectArray m_SelRects; LINEOBJ m_LineObj; |