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 TTGSUBTable_H | 7 #ifndef TTGSUBTable_H |
8 #define TTGSUBTable_H | 8 #define TTGSUBTable_H |
9 #include "../../fx_freetype.h" | 9 #include "../../../include/fxge/fx_freetype.h" |
10 #include "../../../include/fxcrt/fx_basic.h" | 10 #include "../../../include/fxcrt/fx_basic.h" |
11 #include "common.h" | 11 #include "common.h" |
12 class CFX_GlyphMap | 12 class CFX_GlyphMap |
13 { | 13 { |
14 public: | 14 public: |
15 CFX_GlyphMap(); | 15 CFX_GlyphMap(); |
16 ~CFX_GlyphMap(); | 16 ~CFX_GlyphMap(); |
17 void SetAt(int key, int value); | 17 void SetAt(int key, int value); |
18 FX_BOOL Lookup(int key, int &value); | 18 FX_BOOL Lookup(int key, int &value); |
19 protected: | 19 protected: |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 { | 410 { |
411 public: | 411 public: |
412 virtual void Release() FX_OVERRIDE | 412 virtual void Release() FX_OVERRIDE |
413 { | 413 { |
414 delete this; | 414 delete this; |
415 } | 415 } |
416 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) FX_
OVERRIDE; | 416 virtual FX_BOOL GetVerticalGlyph(FX_DWORD glyphnum, FX_DWORD* vglyphnum) FX_
OVERRIDE; |
417 CFX_CTTGSUBTable m_GsubImp; | 417 CFX_CTTGSUBTable m_GsubImp; |
418 }; | 418 }; |
419 #endif | 419 #endif |
OLD | NEW |