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 _FGAS_UNICODE_ |
8 #define _FGAS_UNICODE_ | 8 #define _FGAS_UNICODE_ |
9 #define FX_JAPCHARPROPERTYEX_Left 0x01 | 9 #define FX_JAPCHARPROPERTYEX_Left 0x01 |
10 #define FX_JAPCHARPROPERTYEX_Center 0x02 | 10 #define FX_JAPCHARPROPERTYEX_Center 0x02 |
11 #define FX_JAPCHARPROPERTYEX_Right 0x03 | 11 #define FX_JAPCHARPROPERTYEX_Right 0x03 |
12 #define FX_JAPCHARPROPERTYEX_Top 0x10 | 12 #define FX_JAPCHARPROPERTYEX_Top 0x10 |
13 #define FX_JAPCHARPROPERTYEX_Middle 0x20 | 13 #define FX_JAPCHARPROPERTYEX_Middle 0x20 |
14 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 | 14 #define FX_JAPCHARPROPERTYEX_Bottom 0x30 |
15 typedef struct _FX_JAPCHARPROPERTYEX { | 15 typedef struct _FX_JAPCHARPROPERTYEX { |
16 FX_WCHAR wChar; | 16 FX_WCHAR wChar; |
17 FX_BYTE» » uAlign; | 17 uint8_t» » uAlign; |
18 } FX_JAPCHARPROPERTYEX, *FX_LPJAPCHARPROPERTYEX; | 18 } FX_JAPCHARPROPERTYEX, *FX_LPJAPCHARPROPERTYEX; |
19 typedef FX_JAPCHARPROPERTYEX const * FX_LPCJAPCHARPROPERTYEX; | 19 typedef FX_JAPCHARPROPERTYEX const * FX_LPCJAPCHARPROPERTYEX; |
20 FX_LPCJAPCHARPROPERTYEX FX_GetJapCharPropertyEx(FX_WCHAR wch); | 20 FX_LPCJAPCHARPROPERTYEX FX_GetJapCharPropertyEx(FX_WCHAR wch); |
21 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, FX_BOOL bMBCSCode, IFX_
Font *pFont, FX_FLOAT fFontSize, FX_BOOL bVertical, CFX_PointF &ptOffset); | 21 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, FX_BOOL bMBCSCode, IFX_
Font *pFont, FX_FLOAT fFontSize, FX_BOOL bVertical, CFX_PointF &ptOffset); |
22 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, FX_BOOL bMBCSCode, IFX_Font *pF
ont, FX_FLOAT fFontSize, FX_BOOL bVertical, CFX_PointF &ptOffset); | 22 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch, FX_BOOL bMBCSCode, IFX_Font *pF
ont, FX_FLOAT fFontSize, FX_BOOL bVertical, CFX_PointF &ptOffset); |
23 #endif | 23 #endif |
OLD | NEW |