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

Side by Side Diff: core/fpdfdoc/include/cpvt_word.h

Issue 2341453002: CFX_FloatPoint default constructor and equals operators (Closed)
Patch Set: style Created 4 years, 3 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 | « core/fpdfdoc/include/cpvt_line.h ('k') | core/fxcrt/include/fx_coordinates.h » ('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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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 CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_ 7 #ifndef CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_
8 #define CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_ 8 #define CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_
9 9
10 #include "core/fpdfdoc/include/cpvt_wordplace.h" 10 #include "core/fpdfdoc/include/cpvt_wordplace.h"
(...skipping 11 matching lines...) Expand all
22 FX_FLOAT fDescent; 22 FX_FLOAT fDescent;
23 FX_FLOAT fWidth; 23 FX_FLOAT fWidth;
24 int32_t nFontIndex; 24 int32_t nFontIndex;
25 FX_FLOAT fFontSize; 25 FX_FLOAT fFontSize;
26 CPVT_WordProps WordProps; 26 CPVT_WordProps WordProps;
27 }; 27 };
28 28
29 inline CPVT_Word::CPVT_Word() 29 inline CPVT_Word::CPVT_Word()
30 : Word(0), 30 : Word(0),
31 nCharset(0), 31 nCharset(0),
32 ptWord(0.0f, 0.0f),
33 fAscent(0.0f), 32 fAscent(0.0f),
34 fDescent(0.0f), 33 fDescent(0.0f),
35 fWidth(0.0f), 34 fWidth(0.0f),
36 nFontIndex(-1), 35 nFontIndex(-1),
37 fFontSize(0.0f) {} 36 fFontSize(0.0f) {}
38 37
39 #endif // CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_ 38 #endif // CORE_FPDFDOC_INCLUDE_CPVT_WORD_H_
OLDNEW
« no previous file with comments | « core/fpdfdoc/include/cpvt_line.h ('k') | core/fxcrt/include/fx_coordinates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698