OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ |
8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 | 47 |
48 // Maximum page objects to render before checking for pause. | 48 // Maximum page objects to render before checking for pause. |
49 static const int kStepLimit = 100; | 49 static const int kStepLimit = 100; |
50 | 50 |
51 Status m_Status; | 51 Status m_Status; |
52 CPDF_RenderContext* const m_pContext; | 52 CPDF_RenderContext* const m_pContext; |
53 CFX_RenderDevice* const m_pDevice; | 53 CFX_RenderDevice* const m_pDevice; |
54 const CPDF_RenderOptions* const m_pOptions; | 54 const CPDF_RenderOptions* const m_pOptions; |
55 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; | 55 std::unique_ptr<CPDF_RenderStatus> m_pRenderStatus; |
56 CFX_FloatRect m_ClipRect; | 56 CFX_FloatRect m_ClipRect; |
57 FX_DWORD m_LayerIndex; | 57 uint32_t m_LayerIndex; |
58 CPDF_RenderContext::Layer* m_pCurrentLayer; | 58 CPDF_RenderContext::Layer* m_pCurrentLayer; |
59 CPDF_PageObjectList::iterator m_LastObjectRendered; | 59 CPDF_PageObjectList::iterator m_LastObjectRendered; |
60 }; | 60 }; |
61 | 61 |
62 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ | 62 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_PROGRESSIVERENDERER_H_ |
OLD | NEW |