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/include/fpdfapi/fpdf_render.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/include/fpdfapi/fpdf_render.h')
-rw-r--r-- | core/include/fpdfapi/fpdf_render.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/include/fpdfapi/fpdf_render.h b/core/include/fpdfapi/fpdf_render.h index 8d87b588c1..d7fdbd463d 100644 --- a/core/include/fpdfapi/fpdf_render.h +++ b/core/include/fpdfapi/fpdf_render.h @@ -94,21 +94,21 @@ class CPDF_RenderContext { void Clear(); void AppendObjectList(CPDF_PageObjects* pObjs, - const CFX_AffineMatrix* pObject2Device); + const CFX_Matrix* pObject2Device); void Render(CFX_RenderDevice* pDevice, const CPDF_RenderOptions* pOptions = NULL, - const CFX_AffineMatrix* pFinalMatrix = NULL); + const CFX_Matrix* pFinalMatrix = NULL); void DrawObjectList(CFX_RenderDevice* pDevice, CPDF_PageObjects* pObjs, - const CFX_AffineMatrix* pObject2Device, + const CFX_Matrix* pObject2Device, const CPDF_RenderOptions* pOptions); void GetBackground(CFX_DIBitmap* pBuffer, const CPDF_PageObject* pObj, const CPDF_RenderOptions* pOptions, - CFX_AffineMatrix* pFinalMatrix); + CFX_Matrix* pFinalMatrix); CPDF_PageRenderCache* GetPageCache() const { return m_pPageCache; } @@ -126,7 +126,7 @@ class CPDF_RenderContext { void Render(CFX_RenderDevice* pDevice, const CPDF_PageObject* pStopObj, const CPDF_RenderOptions* pOptions, - const CFX_AffineMatrix* pFinalMatrix); + const CFX_Matrix* pFinalMatrix); friend class CPDF_RenderStatus; friend class CPDF_ProgressiveRenderer; }; @@ -185,7 +185,7 @@ class CPDF_TextRenderer { FX_FLOAT origin_y, CPDF_Font* pFont, FX_FLOAT font_size, - const CFX_AffineMatrix* matrix, + const CFX_Matrix* matrix, const CFX_ByteString& str, FX_ARGB fill_argb, FX_ARGB stroke_argb = 0, @@ -198,8 +198,8 @@ class CPDF_TextRenderer { FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, - const CFX_AffineMatrix* pText2User, - const CFX_AffineMatrix* pUser2Device, + const CFX_Matrix* pText2User, + const CFX_Matrix* pUser2Device, const CFX_GraphStateData* pGraphState, FX_ARGB fill_argb, FX_ARGB stroke_argb, @@ -212,7 +212,7 @@ class CPDF_TextRenderer { FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, - const CFX_AffineMatrix* pText2Device, + const CFX_Matrix* pText2Device, FX_ARGB fill_argb, const CPDF_RenderOptions* pOptions); @@ -222,7 +222,7 @@ class CPDF_TextRenderer { FX_FLOAT* pCharPos, CPDF_Font* pFont, FX_FLOAT font_size, - const CFX_AffineMatrix* pText2Device, + const CFX_Matrix* pText2Device, FX_ARGB fill_argb); }; class CPDF_PageRenderCache { @@ -288,6 +288,6 @@ class CPDF_RenderConfig { int m_RenderStepLimit; }; -FX_BOOL IsAvailableMatrix(const CFX_AffineMatrix& matrix); +FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ |