| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 std::map<CPDF_Object*, CPDF_CountedObject<CPDF_TransferFunc>*>; | 87 std::map<CPDF_Object*, CPDF_CountedObject<CPDF_TransferFunc>*>; |
| 88 | 88 |
| 89 CPDF_Document* m_pPDFDoc; | 89 CPDF_Document* m_pPDFDoc; |
| 90 CFX_FontCache* m_pFontCache; | 90 CFX_FontCache* m_pFontCache; |
| 91 CPDF_Type3CacheMap m_Type3FaceMap; | 91 CPDF_Type3CacheMap m_Type3FaceMap; |
| 92 CPDF_TransferFuncMap m_TransferFuncMap; | 92 CPDF_TransferFuncMap m_TransferFuncMap; |
| 93 }; | 93 }; |
| 94 | 94 |
| 95 class IPDF_ObjectRenderer { | 95 class IPDF_ObjectRenderer { |
| 96 public: | 96 public: |
| 97 static IPDF_ObjectRenderer* Create(int type); | 97 static IPDF_ObjectRenderer* Create(CPDF_PageObject::Type type); |
| 98 virtual ~IPDF_ObjectRenderer() {} | 98 virtual ~IPDF_ObjectRenderer() {} |
| 99 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus, | 99 virtual FX_BOOL Start(CPDF_RenderStatus* pRenderStatus, |
| 100 const CPDF_PageObject* pObj, | 100 const CPDF_PageObject* pObj, |
| 101 const CFX_Matrix* pObj2Device, | 101 const CFX_Matrix* pObj2Device, |
| 102 FX_BOOL bStdCS, | 102 FX_BOOL bStdCS, |
| 103 int blendType = FXDIB_BLEND_NORMAL) = 0; | 103 int blendType = FXDIB_BLEND_NORMAL) = 0; |
| 104 virtual FX_BOOL Continue(IFX_Pause* pPause) = 0; | 104 virtual FX_BOOL Continue(IFX_Pause* pPause) = 0; |
| 105 FX_BOOL m_Result; | 105 FX_BOOL m_Result; |
| 106 }; | 106 }; |
| 107 | 107 |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 const uint8_t* m_RampB; | 608 const uint8_t* m_RampB; |
| 609 }; | 609 }; |
| 610 | 610 |
| 611 struct _CPDF_UniqueKeyGen { | 611 struct _CPDF_UniqueKeyGen { |
| 612 void Generate(int count, ...); | 612 void Generate(int count, ...); |
| 613 FX_CHAR m_Key[128]; | 613 FX_CHAR m_Key[128]; |
| 614 int m_KeyLen; | 614 int m_KeyLen; |
| 615 }; | 615 }; |
| 616 | 616 |
| 617 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 617 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| OLD | NEW |