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> |
11 | 11 |
12 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 12 #include "core/include/fpdfapi/fpdf_pageobj.h" |
| 13 #include "core/include/fpdfapi/fpdf_render.h" |
13 #include "third_party/base/nonstd_unique_ptr.h" | 14 #include "third_party/base/nonstd_unique_ptr.h" |
14 | 15 |
15 class CFX_GlyphBitmap; | 16 class CFX_GlyphBitmap; |
| 17 class CPDF_ImageCache; |
16 class CPDF_QuickStretcher; | 18 class CPDF_QuickStretcher; |
17 | 19 |
18 #define TYPE3_MAX_BLUES 16 | 20 #define TYPE3_MAX_BLUES 16 |
19 | 21 |
20 class CPDF_Type3Glyphs { | 22 class CPDF_Type3Glyphs { |
21 public: | 23 public: |
22 CPDF_Type3Glyphs() { | 24 CPDF_Type3Glyphs() { |
23 m_GlyphMap.InitHashTable(253); | 25 m_GlyphMap.InitHashTable(253); |
24 m_TopBlueCount = m_BottomBlueCount = 0; | 26 m_TopBlueCount = m_BottomBlueCount = 0; |
25 } | 27 } |
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
635 const uint8_t* m_RampB; | 637 const uint8_t* m_RampB; |
636 }; | 638 }; |
637 | 639 |
638 struct _CPDF_UniqueKeyGen { | 640 struct _CPDF_UniqueKeyGen { |
639 void Generate(int count, ...); | 641 void Generate(int count, ...); |
640 FX_CHAR m_Key[128]; | 642 FX_CHAR m_Key[128]; |
641 int m_KeyLen; | 643 int m_KeyLen; |
642 }; | 644 }; |
643 | 645 |
644 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ | 646 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
OLD | NEW |