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

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

Issue 2037563002: Replace IFGAS_Font with underlying concrete type (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix Windows Created 4 years, 6 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
OLDNEW
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_FGAS_LAYOUT_FGAS_UNICODE_H_ 7 #ifndef XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
8 #define XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ 8 #define XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
9 9
10 #include "xfa/fgas/crt/fgas_utils.h" 10 #include "xfa/fgas/crt/fgas_utils.h"
11 #include "xfa/fgas/font/fgas_font.h" 11 #include "xfa/fgas/font/fgas_font.h"
12 12
13 struct FX_TPO { 13 struct FX_TPO {
14 int32_t index; 14 int32_t index;
15 int32_t pos; 15 int32_t pos;
16 }; 16 };
17 typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray; 17 typedef CFX_MassArrayTemplate<FX_TPO> CFX_TPOArray;
18 18
19 void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd); 19 void FX_TEXTLAYOUT_PieceSort(CFX_TPOArray& tpos, int32_t iStart, int32_t iEnd);
20 20
21 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch, 21 typedef FX_BOOL (*FX_AdjustCharDisplayPos)(FX_WCHAR wch,
22 FX_BOOL bMBCSCode, 22 FX_BOOL bMBCSCode,
23 IFX_Font* pFont, 23 CFX_GEFont* pFont,
24 FX_FLOAT fFontSize, 24 FX_FLOAT fFontSize,
25 FX_BOOL bVertical, 25 FX_BOOL bVertical,
26 CFX_PointF& ptOffset); 26 CFX_PointF& ptOffset);
27 27
28 #endif // XFA_FGAS_LAYOUT_FGAS_UNICODE_H_ 28 #endif // XFA_FGAS_LAYOUT_FGAS_UNICODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698