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

Side by Side Diff: xfa/src/fgas/include/fx_tbk.h

Issue 1751093002: Replace FX_LPCRECT typedef with underlying types (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Remove one more default value. 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/include/fx_rbk.h ('k') | xfa/src/fgas/src/font/fx_gefont.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SRC_FGAS_INCLUDE_FX_TBK_H_ 7 #ifndef XFA_SRC_FGAS_INCLUDE_FX_TBK_H_
8 #define XFA_SRC_FGAS_INCLUDE_FX_TBK_H_ 8 #define XFA_SRC_FGAS_INCLUDE_FX_TBK_H_
9 9
10 #include "core/include/fxcrt/fx_ucd.h" 10 #include "core/include/fxcrt/fx_ucd.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const FX_WCHAR* pStr; 102 const FX_WCHAR* pStr;
103 int32_t* pWidths; 103 int32_t* pWidths;
104 int32_t iLength; 104 int32_t iLength;
105 IFX_Font* pFont; 105 IFX_Font* pFont;
106 FX_FLOAT fFontSize; 106 FX_FLOAT fFontSize;
107 FX_DWORD dwStyles; 107 FX_DWORD dwStyles;
108 int32_t iHorizontalScale; 108 int32_t iHorizontalScale;
109 int32_t iVerticalScale; 109 int32_t iVerticalScale;
110 int32_t iCharRotation; 110 int32_t iCharRotation;
111 FX_DWORD dwCharStyles; 111 FX_DWORD dwCharStyles;
112 FX_LPCRECTF pRect; 112 const CFX_RectF* pRect;
113 FX_WCHAR wLineBreakChar; 113 FX_WCHAR wLineBreakChar;
114 FX_BOOL bSkipSpace; 114 FX_BOOL bSkipSpace;
115 }; 115 };
116 116
117 class CFX_TxtPiece : public CFX_Target { 117 class CFX_TxtPiece : public CFX_Target {
118 public: 118 public:
119 CFX_TxtPiece() 119 CFX_TxtPiece()
120 : m_dwStatus(FX_TXTBREAK_PieceBreak), 120 : m_dwStatus(FX_TXTBREAK_PieceBreak),
121 m_iStartPos(0), 121 m_iStartPos(0),
122 m_iWidth(-1), 122 m_iWidth(-1),
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 FXTEXT_CHARPOS* pCharPos, 212 FXTEXT_CHARPOS* pCharPos,
213 FX_BOOL bCharCode = FALSE, 213 FX_BOOL bCharCode = FALSE,
214 CFX_WideString* pWSForms = NULL, 214 CFX_WideString* pWSForms = NULL,
215 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0; 215 FX_AdjustCharDisplayPos pAdjustPos = NULL) const = 0;
216 virtual int32_t GetCharRects(const FX_TXTRUN* pTxtRun, 216 virtual int32_t GetCharRects(const FX_TXTRUN* pTxtRun,
217 CFX_RectFArray& rtArray, 217 CFX_RectFArray& rtArray,
218 FX_BOOL bCharBBox = FALSE) const = 0; 218 FX_BOOL bCharBBox = FALSE) const = 0;
219 }; 219 };
220 220
221 #endif // XFA_SRC_FGAS_INCLUDE_FX_TBK_H_ 221 #endif // XFA_SRC_FGAS_INCLUDE_FX_TBK_H_
OLDNEW
« no previous file with comments | « xfa/src/fgas/include/fx_rbk.h ('k') | xfa/src/fgas/src/font/fx_gefont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698