| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 FontHeader _fontHeader; | 235 FontHeader _fontHeader; |
| 236 unsigned char * _tableEntries; | 236 unsigned char * _tableEntries; |
| 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 static void _DoNothing(void *info, const void *data, size_t size) {}; |
| 246 FX_BOOL _CGDrawGlyphRun(CGContextRef pContext, |
| 247 int nChars, |
| 248 const FXTEXT_CHARPOS* pCharPos, |
| 249 CFX_Font* pFont, |
| 250 CFX_FontCache* pCache, |
| 251 const CFX_AffineMatrix* pObject2Device, |
| 252 FX_FLOAT font_size, |
| 253 FX_DWORD argb, |
| 254 int alpha_flag, |
| 255 void* pIccTransform); |
| 245 #endif | 256 #endif |
| 246 #endif | 257 #endif |
| OLD | NEW |