| 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> |
| 11 | 11 |
| 12 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h" | 12 #include "core/fpdfapi/fpdf_page/cpdf_pageobjectlist.h" |
| 13 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" | 13 #include "core/fpdfapi/fpdf_render/include/cpdf_rendercontext.h" |
| 14 #include "core/include/fxcrt/fx_coordinates.h" | 14 #include "core/fxcrt/include/fx_coordinates.h" |
| 15 #include "core/include/fxcrt/fx_system.h" | 15 #include "core/fxcrt/include/fx_system.h" |
| 16 | 16 |
| 17 class CPDF_RenderOptions; | 17 class CPDF_RenderOptions; |
| 18 class CPDF_RenderStatus; | 18 class CPDF_RenderStatus; |
| 19 class CFX_RenderDevice; | 19 class CFX_RenderDevice; |
| 20 class IFX_Pause; | 20 class IFX_Pause; |
| 21 | 21 |
| 22 class CPDF_ProgressiveRenderer { | 22 class CPDF_ProgressiveRenderer { |
| 23 public: | 23 public: |
| 24 // Must match FDF_RENDER_* definitions in public/fpdf_progressive.h, but | 24 // Must match FDF_RENDER_* definitions in public/fpdf_progressive.h, but |
| 25 // cannot #include that header. fpdfsdk/fpdf_progressive.cpp has | 25 // cannot #include that header. fpdfsdk/fpdf_progressive.cpp has |
| (...skipping 27 matching lines...) Expand all Loading... |
| 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 FX_DWORD 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 |