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

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

Issue 1776313002: Add bitmaps and skp output to Skia port (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments and fix gn Created 4 years, 9 months 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
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_FX_AGG_DRIVER_H_ 7 #ifndef CORE_SRC_FXGE_AGG_FX_AGG_DRIVER_H_
8 #define CORE_SRC_FXGE_AGG_FX_AGG_DRIVER_H_ 8 #define CORE_SRC_FXGE_AGG_FX_AGG_DRIVER_H_
9 9
10 #include "core/include/fxge/fx_ge.h" 10 #include "core/include/fxge/fx_ge.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer, 127 FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer,
128 FX_DWORD color, 128 FX_DWORD color,
129 FX_BOOL bFullCover, 129 FX_BOOL bFullCover,
130 FX_BOOL bGroupKnockout, 130 FX_BOOL bGroupKnockout,
131 int alpha_flag, 131 int alpha_flag,
132 void* pIccTransform); 132 void* pIccTransform);
133 133
134 void SetClipMask(agg::rasterizer_scanline_aa& rasterizer); 134 void SetClipMask(agg::rasterizer_scanline_aa& rasterizer);
135 135
136 virtual uint8_t* GetBuffer() const; 136 virtual uint8_t* GetBuffer() const;
137 const CFX_DIBitmap* GetBitmap() const { return m_pBitmap; }
137 138
138 private: 139 private:
139 CFX_DIBitmap* m_pBitmap; 140 CFX_DIBitmap* m_pBitmap;
140 CFX_ClipRgn* m_pClipRgn; 141 CFX_ClipRgn* m_pClipRgn;
141 CFX_ArrayTemplate<CFX_ClipRgn*> m_StateStack; 142 CFX_ArrayTemplate<CFX_ClipRgn*> m_StateStack;
142 void* m_pPlatformGraphics; 143 void* m_pPlatformGraphics;
143 void* m_pPlatformBitmap; 144 void* m_pPlatformBitmap;
144 void* m_pDwRenderTartget; 145 void* m_pDwRenderTartget;
145 int m_FillFlags; 146 int m_FillFlags;
146 int m_DitherBits; 147 int m_DitherBits;
147 FX_BOOL m_bRgbByteOrder; 148 FX_BOOL m_bRgbByteOrder;
148 CFX_DIBitmap* m_pOriDevice; 149 CFX_DIBitmap* m_pOriDevice;
149 FX_BOOL m_bGroupKnockout; 150 FX_BOOL m_bGroupKnockout;
150 }; 151 };
151 152
152 #endif // CORE_SRC_FXGE_AGG_FX_AGG_DRIVER_H_ 153 #endif // CORE_SRC_FXGE_AGG_FX_AGG_DRIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698