| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ | 7 #ifndef CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ |
| 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ | 8 #define CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 void RenderStep(); | 142 void RenderStep(); |
| 143 | 143 |
| 144 Status m_Status; | 144 Status m_Status; |
| 145 CPDF_RenderContext* const m_pContext; | 145 CPDF_RenderContext* const m_pContext; |
| 146 CFX_RenderDevice* const m_pDevice; | 146 CFX_RenderDevice* const m_pDevice; |
| 147 const CPDF_RenderOptions* const m_pOptions; | 147 const CPDF_RenderOptions* const m_pOptions; |
| 148 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; | 148 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; |
| 149 CFX_FloatRect m_ClipRect; | 149 CFX_FloatRect m_ClipRect; |
| 150 FX_DWORD m_LayerIndex; | 150 FX_DWORD m_LayerIndex; |
| 151 FX_DWORD m_ObjectIndex; | 151 FX_DWORD m_ObjectIndex; |
| 152 CPDF_RenderContext::Layer* m_pCurrentLayer; |
| 152 FX_POSITION m_ObjectPos; | 153 FX_POSITION m_ObjectPos; |
| 153 FX_POSITION m_PrevLastPos; | |
| 154 }; | 154 }; |
| 155 | 155 |
| 156 class CPDF_TextRenderer { | 156 class CPDF_TextRenderer { |
| 157 public: | 157 public: |
| 158 static void DrawTextString(CFX_RenderDevice* pDevice, | 158 static void DrawTextString(CFX_RenderDevice* pDevice, |
| 159 int left, | 159 int left, |
| 160 int top, | 160 int top, |
| 161 CPDF_Font* pFont, | 161 CPDF_Font* pFont, |
| 162 int height, | 162 int height, |
| 163 const CFX_ByteString& str, | 163 const CFX_ByteString& str, |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 public: | 265 public: |
| 266 CPDF_RenderConfig(); | 266 CPDF_RenderConfig(); |
| 267 ~CPDF_RenderConfig(); | 267 ~CPDF_RenderConfig(); |
| 268 int m_HalftoneLimit; | 268 int m_HalftoneLimit; |
| 269 int m_RenderStepLimit; | 269 int m_RenderStepLimit; |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); | 272 FX_BOOL IsAvailableMatrix(const CFX_Matrix& matrix); |
| 273 | 273 |
| 274 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ | 274 #endif // CORE_INCLUDE_FPDFAPI_FPDF_RENDER_H_ |
| OLD | NEW |