| 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_AGG_FX_AGG_DRIVER_H_ | 7 #ifndef CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
| 8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_ | 8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
| 9 | 9 |
| 10 #include "core/fxge/include/fx_ge.h" | 10 #include "core/fxge/include/fx_ge.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 CFX_DIBitmap* pOriDevice, | 33 CFX_DIBitmap* pOriDevice, |
| 34 FX_BOOL bGroupKnockout); | 34 FX_BOOL bGroupKnockout); |
| 35 ~CFX_AggDeviceDriver() override; | 35 ~CFX_AggDeviceDriver() override; |
| 36 | 36 |
| 37 void InitPlatform(); | 37 void InitPlatform(); |
| 38 void DestroyPlatform(); | 38 void DestroyPlatform(); |
| 39 | 39 |
| 40 // IFX_RenderDeviceDriver | 40 // IFX_RenderDeviceDriver |
| 41 int GetDeviceCaps(int caps_id) override; | 41 int GetDeviceCaps(int caps_id) override; |
| 42 void SaveState() override; | 42 void SaveState() override; |
| 43 void RestoreState(FX_BOOL bKeepSaved) override; | 43 void RestoreState(bool bKeepSaved) override; |
| 44 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, | 44 FX_BOOL SetClip_PathFill(const CFX_PathData* pPathData, |
| 45 const CFX_Matrix* pObject2Device, | 45 const CFX_Matrix* pObject2Device, |
| 46 int fill_mode) override; | 46 int fill_mode) override; |
| 47 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, | 47 FX_BOOL SetClip_PathStroke(const CFX_PathData* pPathData, |
| 48 const CFX_Matrix* pObject2Device, | 48 const CFX_Matrix* pObject2Device, |
| 49 const CFX_GraphStateData* pGraphState) override; | 49 const CFX_GraphStateData* pGraphState) override; |
| 50 FX_BOOL DrawPath(const CFX_PathData* pPathData, | 50 FX_BOOL DrawPath(const CFX_PathData* pPathData, |
| 51 const CFX_Matrix* pObject2Device, | 51 const CFX_Matrix* pObject2Device, |
| 52 const CFX_GraphStateData* pGraphState, | 52 const CFX_GraphStateData* pGraphState, |
| 53 uint32_t fill_color, | 53 uint32_t fill_color, |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 void* m_pPlatformBitmap; | 144 void* m_pPlatformBitmap; |
| 145 void* m_pDwRenderTartget; | 145 void* m_pDwRenderTartget; |
| 146 int m_FillFlags; | 146 int m_FillFlags; |
| 147 int m_DitherBits; | 147 int m_DitherBits; |
| 148 FX_BOOL m_bRgbByteOrder; | 148 FX_BOOL m_bRgbByteOrder; |
| 149 CFX_DIBitmap* m_pOriDevice; | 149 CFX_DIBitmap* m_pOriDevice; |
| 150 FX_BOOL m_bGroupKnockout; | 150 FX_BOOL m_bGroupKnockout; |
| 151 }; | 151 }; |
| 152 | 152 |
| 153 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ | 153 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
| OLD | NEW |