| 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_RENDERCONTEXT_H_ | 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDERCONTEXT_H_ |
| 8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDERCONTEXT_H_ | 8 #define CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDERCONTEXT_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_basic.h" | 10 #include "core/fxcrt/include/fx_basic.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 Layer* GetLayer(uint32_t index) { return m_Layers.GetDataPtr(index); } | 54 Layer* GetLayer(uint32_t index) { return m_Layers.GetDataPtr(index); } |
| 55 | 55 |
| 56 CPDF_Document* GetDocument() const { return m_pDocument; } | 56 CPDF_Document* GetDocument() const { return m_pDocument; } |
| 57 CPDF_Dictionary* GetPageResources() const { return m_pPageResources; } | 57 CPDF_Dictionary* GetPageResources() const { return m_pPageResources; } |
| 58 CPDF_PageRenderCache* GetPageCache() const { return m_pPageCache; } | 58 CPDF_PageRenderCache* GetPageCache() const { return m_pPageCache; } |
| 59 | 59 |
| 60 protected: | 60 protected: |
| 61 CPDF_Document* const m_pDocument; | 61 CPDF_Document* const m_pDocument; |
| 62 CPDF_Dictionary* m_pPageResources; | 62 CPDF_Dictionary* m_pPageResources; |
| 63 CPDF_PageRenderCache* m_pPageCache; | 63 CPDF_PageRenderCache* m_pPageCache; |
| 64 FX_BOOL m_bFirstLayer; | |
| 65 CFX_ArrayTemplate<Layer> m_Layers; | 64 CFX_ArrayTemplate<Layer> m_Layers; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDERCONTEXT_H_ | 67 #endif // CORE_FPDFAPI_FPDF_RENDER_INCLUDE_CPDF_RENDERCONTEXT_H_ |
| OLD | NEW |