| 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_FXGE_WIN32_CFX_PSRENDERER_H_ | 7 #ifndef CORE_FXGE_WIN32_CFX_PSRENDERER_H_ |
| 8 #define CORE_FXGE_WIN32_CFX_PSRENDERER_H_ | 8 #define CORE_FXGE_WIN32_CFX_PSRENDERER_H_ |
| 9 | 9 |
| 10 #include <memory> |
| 11 #include <vector> |
| 12 |
| 10 #include "core/fxcrt/fx_coordinates.h" | 13 #include "core/fxcrt/fx_coordinates.h" |
| 11 #include "core/fxcrt/fx_system.h" | 14 #include "core/fxcrt/fx_system.h" |
| 12 #include "core/fxge/cfx_graphstatedata.h" | 15 #include "core/fxge/cfx_graphstatedata.h" |
| 13 #include "core/fxge/win32/cpsoutput.h" | 16 #include "core/fxge/win32/cpsoutput.h" |
| 14 | 17 |
| 15 class CFX_DIBSource; | 18 class CFX_DIBSource; |
| 16 class CFX_FaceCache; | 19 class CFX_FaceCache; |
| 17 class CFX_Font; | 20 class CFX_Font; |
| 18 class CFX_FontCache; | 21 class CFX_FontCache; |
| 19 class CFX_Matrix; | 22 class CFX_Matrix; |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void WritePSBinary(const uint8_t* data, int len); | 86 void WritePSBinary(const uint8_t* data, int len); |
| 84 | 87 |
| 85 CPSOutput* m_pOutput; | 88 CPSOutput* m_pOutput; |
| 86 int m_PSLevel; | 89 int m_PSLevel; |
| 87 CFX_GraphStateData m_CurGraphState; | 90 CFX_GraphStateData m_CurGraphState; |
| 88 bool m_bGraphStateSet; | 91 bool m_bGraphStateSet; |
| 89 bool m_bCmykOutput; | 92 bool m_bCmykOutput; |
| 90 bool m_bColorSet; | 93 bool m_bColorSet; |
| 91 uint32_t m_LastColor; | 94 uint32_t m_LastColor; |
| 92 FX_RECT m_ClipBox; | 95 FX_RECT m_ClipBox; |
| 93 CFX_ArrayTemplate<CPSFont*> m_PSFontList; | 96 std::vector<std::unique_ptr<CPSFont>> m_PSFontList; |
| 94 CFX_ArrayTemplate<FX_RECT> m_ClipBoxStack; | 97 std::vector<FX_RECT> m_ClipBoxStack; |
| 95 bool m_bInited; | 98 bool m_bInited; |
| 96 }; | 99 }; |
| 97 | 100 |
| 98 #endif // CORE_FXGE_WIN32_CFX_PSRENDERER_H_ | 101 #endif // CORE_FXGE_WIN32_CFX_PSRENDERER_H_ |
| OLD | NEW |