| 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_PAGE_CPDF_PSENGINE_H_ | 7 #ifndef CORE_FPDFAPI_PAGE_CPDF_PSENGINE_H_ |
| 8 #define CORE_FPDFAPI_FPDF_PAGE_CPDF_PSENGINE_H_ | 8 #define CORE_FPDFAPI_PAGE_CPDF_PSENGINE_H_ |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "core/fxcrt/fx_system.h" | 13 #include "core/fxcrt/fx_system.h" |
| 14 | 14 |
| 15 class CPDF_PSEngine; | 15 class CPDF_PSEngine; |
| 16 class CPDF_PSOP; | 16 class CPDF_PSOP; |
| 17 class CPDF_SimpleParser; | 17 class CPDF_SimpleParser; |
| 18 | 18 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 void Push(int value) { Push((FX_FLOAT)value); } | 91 void Push(int value) { Push((FX_FLOAT)value); } |
| 92 FX_FLOAT Pop(); | 92 FX_FLOAT Pop(); |
| 93 uint32_t GetStackSize() const { return m_StackCount; } | 93 uint32_t GetStackSize() const { return m_StackCount; } |
| 94 | 94 |
| 95 private: | 95 private: |
| 96 FX_FLOAT m_Stack[PSENGINE_STACKSIZE]; | 96 FX_FLOAT m_Stack[PSENGINE_STACKSIZE]; |
| 97 uint32_t m_StackCount; | 97 uint32_t m_StackCount; |
| 98 CPDF_PSProc m_MainProc; | 98 CPDF_PSProc m_MainProc; |
| 99 }; | 99 }; |
| 100 | 100 |
| 101 #endif // CORE_FPDFAPI_FPDF_PAGE_CPDF_PSENGINE_H_ | 101 #endif // CORE_FPDFAPI_PAGE_CPDF_PSENGINE_H_ |
| OLD | NEW |