Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Side by Side Diff: xfa/src/fgas/layout/fgas_unicode.h

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « xfa/src/fgas/layout/fgas_textbreak.cpp ('k') | xfa/src/fgas/layout/fgas_unicode.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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 XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_
8 #define XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_
9
10 #include "xfa/src/fgas/font/fgas_font.h"
11 #include "xfa/src/fgas/crt/fgas_utils.h"
12
13 #define FX_JAPCHARPROPERTYEX_Left 0x01
14 #define FX_JAPCHARPROPERTYEX_Center 0x02
15 #define FX_JAPCHARPROPERTYEX_Right 0x03
16 #define FX_JAPCHARPROPERTYEX_Top 0x10
17 #define FX_JAPCHARPROPERTYEX_Middle 0x20
18 #define FX_JAPCHARPROPERTYEX_Bottom 0x30
19
20 struct FX_TPO {
21 int32_t index;
22 int32_t pos;
23 };
24 typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray;
25
26 void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd);
27
28 struct FX_JAPCHARPROPERTYEX {
29 FX_WCHAR wChar;
30 uint8_t uAlign;
31 };
32
33 const FX_JAPCHARPROPERTYEX* FX_GetJapCharPropertyEx(FX_WCHAR wch);
34 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch,
35 FX_BOOL bMBCSCode,
36 IFX_Font* pFont,
37 FX_FLOAT fFontSize,
38 FX_BOOL bVertical,
39 CFX_PointF& ptOffset);
40 FX_BOOL FX_AdjustJapCharDisplayPos(FX_WCHAR wch,
41 FX_BOOL bMBCSCode,
42 IFX_Font* pFont,
43 FX_FLOAT fFontSize,
44 FX_BOOL bVertical,
45 CFX_PointF& ptOffset);
46
47 #endif // XFA_SRC_FGAS_LAYOUT_FGAS_UNICODE_H_
OLDNEW
« no previous file with comments | « xfa/src/fgas/layout/fgas_textbreak.cpp ('k') | xfa/src/fgas/layout/fgas_unicode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698