| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |