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

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

Issue 2353143002: Delete unused GetBitMap() in fx_agg_driver (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | core/fxge/agg/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_FXGE_AGG_FX_AGG_DRIVER_H_ 7 #ifndef CORE_FXGE_AGG_FX_AGG_DRIVER_H_
8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_ 8 #define CORE_FXGE_AGG_FX_AGG_DRIVER_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer, 100 FX_BOOL RenderRasterizer(agg::rasterizer_scanline_aa& rasterizer,
101 uint32_t color, 101 uint32_t color,
102 FX_BOOL bFullCover, 102 FX_BOOL bFullCover,
103 FX_BOOL bGroupKnockout, 103 FX_BOOL bGroupKnockout,
104 int alpha_flag, 104 int alpha_flag,
105 void* pIccTransform); 105 void* pIccTransform);
106 106
107 void SetClipMask(agg::rasterizer_scanline_aa& rasterizer); 107 void SetClipMask(agg::rasterizer_scanline_aa& rasterizer);
108 108
109 virtual uint8_t* GetBuffer() const; 109 virtual uint8_t* GetBuffer() const;
110 const CFX_DIBitmap* GetBitmap() const;
111 110
112 private: 111 private:
113 CFX_DIBitmap* m_pBitmap; 112 CFX_DIBitmap* m_pBitmap;
114 std::unique_ptr<CFX_ClipRgn> m_pClipRgn; 113 std::unique_ptr<CFX_ClipRgn> m_pClipRgn;
115 std::vector<std::unique_ptr<CFX_ClipRgn>> m_StateStack; 114 std::vector<std::unique_ptr<CFX_ClipRgn>> m_StateStack;
116 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ 115 #if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_
117 void* m_pPlatformGraphics; 116 void* m_pPlatformGraphics;
118 #endif 117 #endif
119 int m_FillFlags; 118 int m_FillFlags;
120 FX_BOOL m_bRgbByteOrder; 119 FX_BOOL m_bRgbByteOrder;
121 CFX_DIBitmap* m_pOriDevice; 120 CFX_DIBitmap* m_pOriDevice;
122 FX_BOOL m_bGroupKnockout; 121 FX_BOOL m_bGroupKnockout;
123 }; 122 };
124 123
125 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_ 124 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_
OLDNEW
« no previous file with comments | « no previous file | core/fxge/agg/fx_agg_driver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698