OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ | 7 #ifndef CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ |
8 #define CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ | 8 #define CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ |
9 | 9 |
10 #include "core/fxcrt/include/fx_system.h" | 10 #include "core/fxcrt/include/fx_system.h" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 FX_FLOAT font_size, | 92 FX_FLOAT font_size, |
93 uint32_t color); | 93 uint32_t color); |
94 virtual void* GetPlatformSurface() const; | 94 virtual void* GetPlatformSurface() const; |
95 virtual int GetDriverType() const; | 95 virtual int GetDriverType() const; |
96 virtual void ClearDriver(); | 96 virtual void ClearDriver(); |
97 virtual FX_BOOL DrawShading(const CPDF_ShadingPattern* pPattern, | 97 virtual FX_BOOL DrawShading(const CPDF_ShadingPattern* pPattern, |
98 const CFX_Matrix* pMatrix, | 98 const CFX_Matrix* pMatrix, |
99 const FX_RECT& clip_rect, | 99 const FX_RECT& clip_rect, |
100 int alpha, | 100 int alpha, |
101 FX_BOOL bAlphaMode); | 101 FX_BOOL bAlphaMode); |
| 102 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap, |
| 103 const CFX_DIBSource* pMask, |
| 104 int left, |
| 105 int top, |
| 106 int bitmap_alpha, |
| 107 int blend_type); |
102 }; | 108 }; |
103 | 109 |
104 #endif // CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ | 110 #endif // CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ |
OLD | NEW |