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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 CFX_QuartzDeviceDriver(CGContextRef context, int32_t deviceClass); | 84 CFX_QuartzDeviceDriver(CGContextRef context, int32_t deviceClass); |
85 ~CFX_QuartzDeviceDriver() override; | 85 ~CFX_QuartzDeviceDriver() override; |
86 | 86 |
87 // IFX_RenderDeviceDriver | 87 // IFX_RenderDeviceDriver |
88 int GetDeviceCaps(int caps_id) override; | 88 int GetDeviceCaps(int caps_id) override; |
89 CFX_Matrix GetCTM() const override; | 89 CFX_Matrix GetCTM() const override; |
90 FX_BOOL IsPSPrintDriver() override { return FALSE; } | 90 FX_BOOL IsPSPrintDriver() override { return FALSE; } |
91 FX_BOOL StartRendering() override { return TRUE; } | 91 FX_BOOL StartRendering() override { return TRUE; } |
92 void EndRendering() override {} | 92 void EndRendering() override {} |
93 void SaveState() override; | 93 void SaveState() override; |
94 void RestoreState(FX_BOOL bKeepSaved) override; | 94 void RestoreState(bool bKeepSaved) override; |
95 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, | 95 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, |
96 const CFX_Matrix* pObject2Device, | 96 const CFX_Matrix* pObject2Device, |
97 int fill_mode) override; | 97 int fill_mode) override; |
98 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, | 98 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, |
99 const CFX_Matrix* pObject2Device, | 99 const CFX_Matrix* pObject2Device, |
100 const CFX_GraphStateData* pGraphState) override; | 100 const CFX_GraphStateData* pGraphState) override; |
101 FX_BOOL DrawPath(const CFX_PathData* pPathData, | 101 FX_BOOL DrawPath(const CFX_PathData* pPathData, |
102 const CFX_Matrix* pObject2Device, | 102 const CFX_Matrix* pObject2Device, |
103 const CFX_GraphStateData* pGraphState, | 103 const CFX_GraphStateData* pGraphState, |
104 uint32_t fill_color, | 104 uint32_t fill_color, |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 int32_t m_vertSize; | 218 int32_t m_vertSize; |
219 }; | 219 }; |
220 | 220 |
221 uint32_t FX_GetHashCode(const FX_CHAR* pStr); | 221 uint32_t FX_GetHashCode(const FX_CHAR* pStr); |
222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); | 222 uint32_t FX_IOSGetMatchFamilyNameHashcode(const FX_CHAR* pFontName); |
223 uint32_t FX_IOSGetFamilyNamesCount(); | 223 uint32_t FX_IOSGetFamilyNamesCount(); |
224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); | 224 const FX_CHAR* FX_IOSGetFamilyName(uint32_t uIndex); |
225 #endif | 225 #endif |
226 | 226 |
227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ | 227 #endif // CORE_FXGE_APPLE_APPLE_INT_H_ |
OLD | NEW |