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 _FX_AGG_DEVICE_DRIVER_ | 7 #ifndef FX_AGG_DRIVER_H_ |
8 #define _FX_AGG_DEVICE_DRIVER_ | 8 #define FX_AGG_DRIVER_H_ |
| 9 |
9 #include "fxfx_agg_path_storage.h" | 10 #include "fxfx_agg_path_storage.h" |
10 #include "fxfx_agg_rasterizer_scanline_aa.h" | 11 #include "fxfx_agg_rasterizer_scanline_aa.h" |
| 12 |
11 class CAgg_PathData | 13 class CAgg_PathData |
12 { | 14 { |
13 public: | 15 public: |
14 CAgg_PathData() {} | 16 CAgg_PathData() {} |
15 ~CAgg_PathData() {} | 17 ~CAgg_PathData() {} |
16 FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData; | 18 FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData; |
17 void BuildPath(const CFX_PathData* pPathData, const C
FX_AffineMatrix* pObject2Device); | 19 void BuildPath(const CFX_PathData* pPathData, const C
FX_AffineMatrix* pObject2Device); |
18 }; | 20 }; |
19 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver | 21 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver |
20 { | 22 { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 CFX_PtrArray m_StateStack; | 113 CFX_PtrArray m_StateStack; |
112 void* m_pPlatformGraphics; | 114 void* m_pPlatformGraphics; |
113 void* m_pPlatformBitmap; | 115 void* m_pPlatformBitmap; |
114 void* m_pDwRenderTartget; | 116 void* m_pDwRenderTartget; |
115 int m_FillFlags; | 117 int m_FillFlags; |
116 int m_DitherBits; | 118 int m_DitherBits; |
117 FX_BOOL m_bRgbByteOrder; | 119 FX_BOOL m_bRgbByteOrder; |
118 CFX_DIBitmap* m_pOriDevice; | 120 CFX_DIBitmap* m_pOriDevice; |
119 FX_BOOL m_bGroupKnockout; | 121 FX_BOOL m_bGroupKnockout; |
120 }; | 122 }; |
121 #endif | 123 |
| 124 #endif // FX_AGG_DRIVER_H_ |
OLD | NEW |