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

Side by Side Diff: core/src/fxge/apple/apple_int.h

Issue 1726803002: Remove more _CAPS names (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 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/fpdfdoc/doc_form.cpp ('k') | xfa/include/fwl/basewidget/fwl_edit.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 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_APPLE_APPLE_INT_H_ 7 #ifndef CORE_SRC_FXGE_APPLE_APPLE_INT_H_
8 #define CORE_SRC_FXGE_APPLE_APPLE_INT_H_ 8 #define CORE_SRC_FXGE_APPLE_APPLE_INT_H_
9 9
10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 10 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
(...skipping 22 matching lines...) Expand all
33 eFXFontCharsetBALTIC = 1 << 13, 33 eFXFontCharsetBALTIC = 1 << 13,
34 } FX_IOSCHARSET; 34 } FX_IOSCHARSET;
35 FX_IOSCHARSET FX_GetiOSCharset(int charset); 35 FX_IOSCHARSET FX_GetiOSCharset(int charset);
36 typedef enum eFXIOSFONTFLAG { 36 typedef enum eFXIOSFONTFLAG {
37 eFXFontFlagBold = 1, 37 eFXFontFlagBold = 1,
38 eFXFontFlagItalic = 1 << 1, 38 eFXFontFlagItalic = 1 << 1,
39 eFXFontFlagFixedPitch = 1 << 2, 39 eFXFontFlagFixedPitch = 1 << 2,
40 eFXFontFlagSerif = 1 << 3, 40 eFXFontFlagSerif = 1 << 3,
41 eFXFontFlagScript = 1 << 4, 41 eFXFontFlagScript = 1 << 4,
42 } FX_IOSFONTFLAG; 42 } FX_IOSFONTFLAG;
43 typedef struct _IOS_FONTDATA { 43 typedef struct IOS_FONTDATA_ {
44 FX_DWORD nHashCode; 44 FX_DWORD nHashCode;
45 const char* psName; 45 const char* psName;
46 FX_DWORD charsets; 46 FX_DWORD charsets;
47 FX_DWORD styles; 47 FX_DWORD styles;
48 } IOS_FONTDATA; 48 } IOS_FONTDATA;
49 class CQuartz2D { 49 class CQuartz2D {
50 public: 50 public:
51 void* createGraphics(CFX_DIBitmap* bitmap); 51 void* createGraphics(CFX_DIBitmap* bitmap);
52 void destroyGraphics(void* graphics); 52 void destroyGraphics(void* graphics);
53 53
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 int _totalSize; 260 int _totalSize;
261 }; 261 };
262 262
263 uint32_t FX_GetHashCode(const FX_CHAR* pStr); 263 uint32_t FX_GetHashCode(const FX_CHAR* pStr);
264 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); 264 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName);
265 uint32_t FX_IOSGetFamilyNamesCount(); 265 uint32_t FX_IOSGetFamilyNamesCount();
266 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); 266 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex);
267 #endif 267 #endif
268 268
269 #endif // CORE_SRC_FXGE_APPLE_APPLE_INT_H_ 269 #endif // CORE_SRC_FXGE_APPLE_APPLE_INT_H_
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_form.cpp ('k') | xfa/include/fwl/basewidget/fwl_edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698