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 _FPDF_PAGEOBJ_H_ | 7 #ifndef CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 8 #define CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
| 9 |
8 #include "../../../include/fpdfapi/fpdf_pageobj.h" | 10 #include "../../../include/fpdfapi/fpdf_pageobj.h" |
9 #endif | 11 |
10 class CPDF_QuickStretcher; | 12 class CPDF_QuickStretcher; |
11 #define TYPE3_MAX_BLUES 16 | 13 #define TYPE3_MAX_BLUES 16 |
12 class CPDF_Type3Glyphs | 14 class CPDF_Type3Glyphs |
13 { | 15 { |
14 public: | 16 public: |
15 CPDF_Type3Glyphs() | 17 CPDF_Type3Glyphs() |
16 { | 18 { |
17 m_GlyphMap.InitHashTable(253); | 19 m_GlyphMap.InitHashTable(253); |
18 m_TopBlueCount = m_BottomBlueCount = 0; | 20 m_TopBlueCount = m_BottomBlueCount = 0; |
19 } | 21 } |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; | 460 virtual void TranslateDownSamples(FX_LPBYTE dest_buf,
FX_LPCBYTE src_buf, int pixels, int Bpp) const; |
459 FX_LPCBYTE m_RampR; | 461 FX_LPCBYTE m_RampR; |
460 FX_LPCBYTE m_RampG; | 462 FX_LPCBYTE m_RampG; |
461 FX_LPCBYTE m_RampB; | 463 FX_LPCBYTE m_RampB; |
462 }; | 464 }; |
463 struct _CPDF_UniqueKeyGen { | 465 struct _CPDF_UniqueKeyGen { |
464 void Generate(int count, ...); | 466 void Generate(int count, ...); |
465 FX_CHAR m_Key[128]; | 467 FX_CHAR m_Key[128]; |
466 int m_KeyLen; | 468 int m_KeyLen; |
467 }; | 469 }; |
| 470 |
| 471 #endif // CORE_SRC_FPDFAPI_FPDF_RENDER_RENDER_INT_H_ |
OLD | NEW |