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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 uint32_t color, | 72 uint32_t color, |
73 int alpha_flag, | 73 int alpha_flag, |
74 void* pIccTransform, | 74 void* pIccTransform, |
75 int blend_type) override { | 75 int blend_type) override { |
76 return FALSE; | 76 return FALSE; |
77 } | 77 } |
78 FX_BOOL GetClipBox(FX_RECT* pRect) override; | 78 FX_BOOL GetClipBox(FX_RECT* pRect) override; |
79 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, | 79 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, |
80 int left, | 80 int left, |
81 int top, | 81 int top, |
82 void* pIccTransform = NULL, | 82 void* pIccTransform = nullptr, |
83 FX_BOOL bDEdge = FALSE) override; | 83 FX_BOOL bDEdge = FALSE) override; |
84 CFX_DIBitmap* GetBackDrop() override { return m_pOriDevice; } | 84 CFX_DIBitmap* GetBackDrop() override { return m_pOriDevice; } |
85 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, | 85 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, |
86 uint32_t color, | 86 uint32_t color, |
87 const FX_RECT* pSrcRect, | 87 const FX_RECT* pSrcRect, |
88 int left, | 88 int left, |
89 int top, | 89 int top, |
90 int blend_type, | 90 int blend_type, |
91 int alpha_flag, | 91 int alpha_flag, |
92 void* pIccTransform) override; | 92 void* pIccTransform) override; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 void* m_pPlatformGraphics; | 142 void* m_pPlatformGraphics; |
143 void* m_pPlatformBitmap; | 143 void* m_pPlatformBitmap; |
144 void* m_pDwRenderTartget; | 144 void* m_pDwRenderTartget; |
145 int m_FillFlags; | 145 int m_FillFlags; |
146 FX_BOOL m_bRgbByteOrder; | 146 FX_BOOL m_bRgbByteOrder; |
147 CFX_DIBitmap* m_pOriDevice; | 147 CFX_DIBitmap* m_pOriDevice; |
148 FX_BOOL m_bGroupKnockout; | 148 FX_BOOL m_bGroupKnockout; |
149 }; | 149 }; |
150 | 150 |
151 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ | 151 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ |
OLD | NEW |