Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1079)

Side by Side Diff: core/src/fxge/agg/include/fx_agg_driver.h

Issue 1518593002: Get rid of most uses of CFX_PtrArray. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Fix botch. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/src/fxcrt/extension.h ('k') | core/src/fxge/agg/src/fx_agg_driver.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « core/src/fxcrt/extension.h ('k') | core/src/fxge/agg/src/fx_agg_driver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698