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 _FGAS_UNICODE_ | 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_UCD_H_ |
8 #define _FGAS_UNICODE_ | 8 #define XFA_SRC_FGAS_INCLUDE_FX_UCD_H_ |
| 9 |
9 #define FX_JAPCHARPROPERTYEX_Left 0x01 | 10 #define FX_JAPCHARPROPERTYEX_Left 0x01 |
10 #define FX_JAPCHARPROPERTYEX_Center 0x02 | 11 #define FX_JAPCHARPROPERTYEX_Center 0x02 |
11 #define FX_JAPCHARPROPERTYEX_Right 0x03 | 12 #define FX_JAPCHARPROPERTYEX_Right 0x03 |
12 #define FX_JAPCHARPROPERTYEX_Top 0x10 | 13 #define FX_JAPCHARPROPERTYEX_Top 0x10 |
13 #define FX_JAPCHARPROPERTYEX_Middle 0x20 | 14 #define FX_JAPCHARPROPERTYEX_Middle 0x20 |
14 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 | 15 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 |
15 typedef struct _FX_JAPCHARPROPERTYEX { | 16 typedef struct _FX_JAPCHARPROPERTYEX { |
16 FX_WCHAR wChar; | 17 FX_WCHAR wChar; |
17 uint8_t uAlign; | 18 uint8_t uAlign; |
18 } FX_JAPCHARPROPERTYEX, *FX_LPJAPCHARPROPERTYEX; | 19 } FX_JAPCHARPROPERTYEX, *FX_LPJAPCHARPROPERTYEX; |
19 typedef FX_JAPCHARPROPERTYEX const* FX_LPCJAPCHARPROPERTYEX; | 20 typedef FX_JAPCHARPROPERTYEX const* FX_LPCJAPCHARPROPERTYEX; |
20 FX_LPCJAPCHARPROPERTYEX FX_GetJapCharPropertyEx(FX_WCHAR wch); | 21 FX_LPCJAPCHARPROPERTYEX FX_GetJapCharPropertyEx(FX_WCHAR wch); |
21 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, | 22 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, |
22 FX_BOOL bMBCSCode, | 23 FX_BOOL bMBCSCode, |
23 IFX_Font* pFont, | 24 IFX_Font* pFont, |
24 FX_FLOAT fFontSize, | 25 FX_FLOAT fFontSize, |
25 FX_BOOL bVertical, | 26 FX_BOOL bVertical, |
26 CFX_PointF& ptOffset); | 27 CFX_PointF& ptOffset); |
27 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, | 28 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, |
28 FX_BOOL bMBCSCode, | 29 FX_BOOL bMBCSCode, |
29 IFX_Font* pFont, | 30 IFX_Font* pFont, |
30 FX_FLOAT fFontSize, | 31 FX_FLOAT fFontSize, |
31 FX_BOOL bVertical, | 32 FX_BOOL bVertical, |
32 CFX_PointF& ptOffset); | 33 CFX_PointF& ptOffset); |
33 #endif | 34 |
| 35 #endif // XFA_SRC_FGAS_INCLUDE_FX_UCD_H_ |
OLD | NEW |