| 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_DRIVER_H_ | 7 #ifndef CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ |
| 8 #define 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 "third_party/agg23/agg_clip_liang_barsky.h" | 11 #include "third_party/agg23/agg_clip_liang_barsky.h" |
| 11 #include "third_party/agg23/agg_path_storage.h" | 12 #include "third_party/agg23/agg_path_storage.h" |
| 12 #include "third_party/agg23/agg_rasterizer_scanline_aa.h" | 13 #include "third_party/agg23/agg_rasterizer_scanline_aa.h" |
| 13 | 14 |
| 15 class CFX_AffineMatrix; |
| 16 class CFX_PathData; |
| 17 |
| 14 class CAgg_PathData { | 18 class CAgg_PathData { |
| 15 public: | 19 public: |
| 16 CAgg_PathData() {} | 20 CAgg_PathData() {} |
| 17 ~CAgg_PathData() {} | 21 ~CAgg_PathData() {} |
| 18 FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData; | 22 FX_NAMESPACE_DECLARE(agg, path_storage) m_PathData; |
| 19 void BuildPath(const CFX_PathData* pPathData, | 23 void BuildPath(const CFX_PathData* pPathData, |
| 20 const CFX_AffineMatrix* pObject2Device); | 24 const CFX_AffineMatrix* pObject2Device); |
| 21 }; | 25 }; |
| 22 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { | 26 class CFX_AggDeviceDriver : public IFX_RenderDeviceDriver { |
| 23 public: | 27 public: |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 void* m_pPlatformGraphics; | 141 void* m_pPlatformGraphics; |
| 138 void* m_pPlatformBitmap; | 142 void* m_pPlatformBitmap; |
| 139 void* m_pDwRenderTartget; | 143 void* m_pDwRenderTartget; |
| 140 int m_FillFlags; | 144 int m_FillFlags; |
| 141 int m_DitherBits; | 145 int m_DitherBits; |
| 142 FX_BOOL m_bRgbByteOrder; | 146 FX_BOOL m_bRgbByteOrder; |
| 143 CFX_DIBitmap* m_pOriDevice; | 147 CFX_DIBitmap* m_pOriDevice; |
| 144 FX_BOOL m_bGroupKnockout; | 148 FX_BOOL m_bGroupKnockout; |
| 145 }; | 149 }; |
| 146 | 150 |
| 147 #endif // FX_AGG_DRIVER_H_ | 151 #endif // CORE_SRC_FXGE_AGG_INCLUDE_FX_AGG_DRIVER_H_ |
| OLD | NEW |