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 XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_ | 7 #ifndef XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ |
8 #define XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_ | 8 #define XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ |
9 | 9 |
10 #include "xfa/src/fgas/font/fgas_font.h" | 10 #include "xfa/fgas/crt/fgas_utils.h" |
11 #include "xfa/src/fgas/crt/fgas_utils.h" | 11 #include "xfa/fgas/font/fgas_font.h" |
12 | 12 |
13 #define FX_JAPCHARPROPERTYEX_Left 0x01 | 13 #define FX_JAPCHARPROPERTYEX_Left 0x01 |
14 #define FX_JAPCHARPROPERTYEX_Center 0x02 | 14 #define FX_JAPCHARPROPERTYEX_Center 0x02 |
15 #define FX_JAPCHARPROPERTYEX_Right 0x03 | 15 #define FX_JAPCHARPROPERTYEX_Right 0x03 |
16 #define FX_JAPCHARPROPERTYEX_Top 0x10 | 16 #define FX_JAPCHARPROPERTYEX_Top 0x10 |
17 #define FX_JAPCHARPROPERTYEX_Middle 0x20 | 17 #define FX_JAPCHARPROPERTYEX_Middle 0x20 |
18 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 | 18 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 |
19 | 19 |
20 struct FX_TPO { | 20 struct FX_TPO { |
21 int32_t index; | 21 int32_t index; |
(...skipping 15 matching lines...) Expand all Loading... |
37 FX_FLOAT fFontSize, | 37 FX_FLOAT fFontSize, |
38 FX_BOOL bVertical, | 38 FX_BOOL bVertical, |
39 CFX_PointF& ptOffset); | 39 CFX_PointF& ptOffset); |
40 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, | 40 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, |
41 FX_BOOL bMBCSCode, | 41 FX_BOOL bMBCSCode, |
42 IFX_Font* pFont, | 42 IFX_Font* pFont, |
43 FX_FLOAT fFontSize, | 43 FX_FLOAT fFontSize, |
44 FX_BOOL bVertical, | 44 FX_BOOL bVertical, |
45 CFX_PointF& ptOffset); | 45 CFX_PointF& ptOffset); |
46 | 46 |
47 #endif // XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_ | 47 #endif // XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ |
OLD | NEW |