| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 PDFium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | |
| 6 | |
| 7 #ifndef CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ | |
| 8 #define CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ | |
| 9 | |
| 10 #include <map> | |
| 11 | |
| 12 #include "core/fxcrt/fx_system.h" | |
| 13 | |
| 14 class CFX_GlyphBitmap; | |
| 15 | |
| 16 #define TYPE3_MAX_BLUES 16 | |
| 17 | |
| 18 class CPDF_Type3Glyphs { | |
| 19 public: | |
| 20 CPDF_Type3Glyphs(); | |
| 21 ~CPDF_Type3Glyphs(); | |
| 22 | |
| 23 void AdjustBlue(FX_FLOAT top, | |
| 24 FX_FLOAT bottom, | |
| 25 int& top_line, | |
| 26 int& bottom_line); | |
| 27 | |
| 28 std::map<uint32_t, CFX_GlyphBitmap*> m_GlyphMap; | |
| 29 int m_TopBlue[TYPE3_MAX_BLUES]; | |
| 30 int m_BottomBlue[TYPE3_MAX_BLUES]; | |
| 31 int m_TopBlueCount; | |
| 32 int m_BottomBlueCount; | |
| 33 }; | |
| 34 | |
| 35 #endif // CORE_FPDFAPI_FPDF_RENDER_CPDF_TYPE3GLYPHS_H_ | |
| OLD | NEW |