| 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 CORE_FXGE_APPLE_APPLE_INT_H_ | 7 #ifndef CORE_FXGE_APPLE_APPLE_INT_H_ |
| 8 #define CORE_FXGE_APPLE_APPLE_INT_H_ | 8 #define CORE_FXGE_APPLE_APPLE_INT_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 void CancelDIBits(void* handle) override {} | 166 void CancelDIBits(void* handle) override {} |
| 167 FX_BOOL DrawDeviceText(int nChars, | 167 FX_BOOL DrawDeviceText(int nChars, |
| 168 const FXTEXT_CHARPOS* pCharPos, | 168 const FXTEXT_CHARPOS* pCharPos, |
| 169 CFX_Font* pFont, | 169 CFX_Font* pFont, |
| 170 CFX_FontCache* pCache, | 170 CFX_FontCache* pCache, |
| 171 const CFX_Matrix* pObject2Device, | 171 const CFX_Matrix* pObject2Device, |
| 172 FX_FLOAT font_size, | 172 FX_FLOAT font_size, |
| 173 FX_DWORD color, | 173 FX_DWORD color, |
| 174 int alpha_flag = 0, | 174 int alpha_flag = 0, |
| 175 void* pIccTransform = NULL) override; | 175 void* pIccTransform = NULL) override; |
| 176 void* GetPlatformSurface() override { return NULL; } | 176 void* GetPlatformSurface() const override { return NULL; } |
| 177 void ClearDriver() override; | 177 void ClearDriver() override; |
| 178 | 178 |
| 179 protected: | 179 protected: |
| 180 void setStrokeInfo(const CFX_GraphStateData* graphState, | 180 void setStrokeInfo(const CFX_GraphStateData* graphState, |
| 181 FX_ARGB argb, | 181 FX_ARGB argb, |
| 182 FX_FLOAT lineWidth); | 182 FX_FLOAT lineWidth); |
| 183 void setFillInfo(FX_ARGB argb); | 183 void setFillInfo(FX_ARGB argb); |
| 184 void setPathToContext(const CFX_PathData* pathData); | 184 void setPathToContext(const CFX_PathData* pathData); |
| 185 FX_FLOAT getLineWidth(const CFX_GraphStateData* graphState, | 185 FX_FLOAT getLineWidth(const CFX_GraphStateData* graphState, |
| 186 CGAffineTransform ctm); | 186 CGAffineTransform ctm); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 int _totalSize; | 262 int _totalSize; |
| 263 }; | 263 }; |
| 264 | 264 |
| 265 uint32_t FX_GetHashCode(const FX_CHAR* pStr); | 265 uint32_t FX_GetHashCode(const FX_CHAR* pStr); |
| 266 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); | 266 FX_DWORD FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); |
| 267 uint32_t FX_IOSGetFamilyNamesCount(); | 267 uint32_t FX_IOSGetFamilyNamesCount(); |
| 268 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); | 268 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); |
| 269 #endif | 269 #endif |
| 270 | 270 |
| 271 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ | 271 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ |
| OLD | NEW |