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

Side by Side Diff: core/src/fxge/android/fpf_skiafont.h

Issue 1252613002: FX_BOOL considered harmful. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Manual edits. Created 5 years, 5 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/src/fxge/agg/src/fx_agg_driver.cpp ('k') | core/src/fxge/android/fpf_skiafont.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 CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ 7 #ifndef CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_
8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ 8 #define CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_
9 9
10 #if _FX_OS_ == _FX_ANDROID_ 10 #if _FX_OS_ == _FX_ANDROID_
(...skipping 21 matching lines...) Expand all
32 { 32 {
33 return m_uCharset; 33 return m_uCharset;
34 } 34 }
35 35
36 virtual int32_t GetGlyphIndex(FX_WCHAR wUnicode); 36 virtual int32_t GetGlyphIndex(FX_WCHAR wUnicode);
37 virtual int32_t GetGlyphWidth(int32_t iGlyphIndex); 37 virtual int32_t GetGlyphWidth(int32_t iGlyphIndex);
38 38
39 virtual int32_t GetAscent() const; 39 virtual int32_t GetAscent() const;
40 virtual int32_t GetDescent() const; 40 virtual int32_t GetDescent() const;
41 41
42 virtual FX_BOOL» » » GetGlyphBBox(int32_t iGlyphIndex, FX_REC T &rtBBox); 42 virtual bool» » » GetGlyphBBox(int32_t iGlyphIndex, FX_REC T &rtBBox);
43 virtual FX_BOOL» » » GetBBox(FX_RECT &rtBBox); 43 virtual bool» » » GetBBox(FX_RECT &rtBBox);
44 44
45 virtual int32_t GetHeight() const; 45 virtual int32_t GetHeight() const;
46 virtual int32_t GetItalicAngle() const; 46 virtual int32_t GetItalicAngle() const;
47 virtual FX_DWORD GetFontData(FX_DWORD dwTable, uint8_t* pBuffer, FX_DWORD dwSize); 47 virtual FX_DWORD GetFontData(FX_DWORD dwTable, uint8_t* pBuffer, FX_DWORD dwSize);
48 FX_BOOL» » » » » InitFont(CFPF_SkiaFontMgr *pFont Mgr, CFPF_SkiaFontDescriptor *pFontDes, const CFX_ByteStringC& bsFamily, FX_DWOR D dwStyle, uint8_t uCharset); 48 bool» » » » » InitFont(CFPF_SkiaFontMgr *pFont Mgr, CFPF_SkiaFontDescriptor *pFontDes, const CFX_ByteStringC& bsFamily, FX_DWOR D dwStyle, uint8_t uCharset);
49 protected: 49 protected:
50 CFPF_SkiaFontMgr *m_pFontMgr; 50 CFPF_SkiaFontMgr *m_pFontMgr;
51 CFPF_SkiaFontDescriptor *m_pFontDes; 51 CFPF_SkiaFontDescriptor *m_pFontDes;
52 FXFT_Face m_Face; 52 FXFT_Face m_Face;
53 FX_DWORD m_dwStyle; 53 FX_DWORD m_dwStyle;
54 uint8_t m_uCharset; 54 uint8_t m_uCharset;
55 FX_DWORD m_dwRefCount; 55 FX_DWORD m_dwRefCount;
56 }; 56 };
57 #endif 57 #endif
58 58
59 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_ 59 #endif // CORE_SRC_FXGE_ANDROID_FPF_SKIAFONT_H_
OLDNEW
« no previous file with comments | « core/src/fxge/agg/src/fx_agg_driver.cpp ('k') | core/src/fxge/android/fpf_skiafont.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698