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_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ | 7 #ifndef CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ |
8 #define CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ | 8 #define CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ |
9 | 9 |
10 #include "core/include/fxge/fx_ge.h" | 10 #include "core/include/fxge/fx_ge.h" |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 int alpha_flag, | 130 int alpha_flag, |
131 void* pIccTransform); | 131 void* pIccTransform); |
132 | 132 |
133 void SetClipMask(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) & | 133 void SetClipMask(FX_NAMESPACE_DECLARE(agg, rasterizer_scanline_aa) & |
134 rasterizer); | 134 rasterizer); |
135 | 135 |
136 virtual uint8_t* GetBuffer() const { return m_pBitmap->GetBuffer(); } | 136 virtual uint8_t* GetBuffer() const { return m_pBitmap->GetBuffer(); } |
137 | 137 |
138 CFX_DIBitmap* m_pBitmap; | 138 CFX_DIBitmap* m_pBitmap; |
139 CFX_ClipRgn* m_pClipRgn; | 139 CFX_ClipRgn* m_pClipRgn; |
140 CFX_PtrArray m_StateStack; | 140 CFX_ArrayTemplate<CFX_ClipRgn*> m_StateStack; |
141 void* m_pPlatformGraphics; | 141 void* m_pPlatformGraphics; |
142 void* m_pPlatformBitmap; | 142 void* m_pPlatformBitmap; |
143 void* m_pDwRenderTartget; | 143 void* m_pDwRenderTartget; |
144 int m_FillFlags; | 144 int m_FillFlags; |
145 int m_DitherBits; | 145 int m_DitherBits; |
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_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ | 151 #endif // CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ |
OLD | NEW |