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

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

Issue 1088733002: Kill CFX_Object. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase. Created 5 years, 8 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/android/fpf_skiamodule.h ('k') | core/src/fxge/dib/dib_int.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 _APPLE_INT_H_ 7 #ifndef _APPLE_INT_H_
8 #define _APPLE_INT_H_ 8 #define _APPLE_INT_H_
9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 9 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
10 #if _FX_OS_ == _FX_MACOSX_ 10 #if _FX_OS_ == _FX_MACOSX_
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void* font, 54 void* font,
55 FX_FLOAT fontSize, 55 FX_FLOAT fontSize,
56 FX_WORD* glyphIndices, 56 FX_WORD* glyphIndices,
57 CGPoint* glyphPositions, 57 CGPoint* glyphPositions,
58 FX_INT32 chars, 58 FX_INT32 chars,
59 FX_ARGB argb, 59 FX_ARGB argb,
60 CFX_AffineMatrix* matrix = NULL); 60 CFX_AffineMatrix* matrix = NULL);
61 void saveGraphicsState(void* graphics); 61 void saveGraphicsState(void* graphics);
62 void restoreGraphicsState(void* graphics); 62 void restoreGraphicsState(void* graphics);
63 }; 63 };
64 class CApplePlatform : public CFX_Object 64 class CApplePlatform
65 { 65 {
66 public: 66 public:
67 CApplePlatform() 67 CApplePlatform()
68 { 68 {
69 m_pFontMapper = NULL; 69 m_pFontMapper = NULL;
70 } 70 }
71 ~CApplePlatform() 71 ~CApplePlatform()
72 { 72 {
73 if (m_pFontMapper) { 73 if (m_pFontMapper) {
74 delete m_pFontMapper; 74 delete m_pFontMapper;
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 size_t * _tableOffsets; 237 size_t * _tableOffsets;
238 int _tableCount; 238 int _tableCount;
239 int _totalSize; 239 int _totalSize;
240 }; 240 };
241 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr); 241 FX_UINT32 FX_GetHashCode( FX_LPCSTR pStr);
242 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName); 242 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(FX_LPCSTR pFontName);
243 FX_UINT32 FX_IOSGetFamilyNamesCount(); 243 FX_UINT32 FX_IOSGetFamilyNamesCount();
244 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex); 244 FX_LPCSTR FX_IOSGetFamilyName( FX_UINT32 uIndex);
245 #endif 245 #endif
246 #endif 246 #endif
OLDNEW
« no previous file with comments | « core/src/fxge/android/fpf_skiamodule.h ('k') | core/src/fxge/dib/dib_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698