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

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

Issue 2032613003: Get rid of NULLs in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Fix a bad merge Created 4 years, 6 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 | « core/fxcrt/xml_int.h ('k') | core/fxge/android/fpf_skiafontmgr.h » ('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 "core/fxge/include/fx_ge.h" 10 #include "core/fxge/include/fx_ge.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 uint32_t color, 72 uint32_t color,
73 int alpha_flag, 73 int alpha_flag,
74 void* pIccTransform, 74 void* pIccTransform,
75 int blend_type) override { 75 int blend_type) override {
76 return FALSE; 76 return FALSE;
77 } 77 }
78 FX_BOOL GetClipBox(FX_RECT* pRect) override; 78 FX_BOOL GetClipBox(FX_RECT* pRect) override;
79 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap, 79 FX_BOOL GetDIBits(CFX_DIBitmap* pBitmap,
80 int left, 80 int left,
81 int top, 81 int top,
82 void* pIccTransform = NULL, 82 void* pIccTransform = nullptr,
83 FX_BOOL bDEdge = FALSE) override; 83 FX_BOOL bDEdge = FALSE) override;
84 CFX_DIBitmap* GetBackDrop() override { return m_pOriDevice; } 84 CFX_DIBitmap* GetBackDrop() override { return m_pOriDevice; }
85 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap, 85 FX_BOOL SetDIBits(const CFX_DIBSource* pBitmap,
86 uint32_t color, 86 uint32_t color,
87 const FX_RECT* pSrcRect, 87 const FX_RECT* pSrcRect,
88 int left, 88 int left,
89 int top, 89 int top,
90 int blend_type, 90 int blend_type,
91 int alpha_flag, 91 int alpha_flag,
92 void* pIccTransform) override; 92 void* pIccTransform) override;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void* m_pPlatformGraphics; 142 void* m_pPlatformGraphics;
143 void* m_pPlatformBitmap; 143 void* m_pPlatformBitmap;
144 void* m_pDwRenderTartget; 144 void* m_pDwRenderTartget;
145 int m_FillFlags; 145 int m_FillFlags;
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_FXGE_AGG_FX_AGG_DRIVER_H_ 151 #endif // CORE_FXGE_AGG_FX_AGG_DRIVER_H_
OLDNEW
« no previous file with comments | « core/fxcrt/xml_int.h ('k') | core/fxge/android/fpf_skiafontmgr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698