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

Side by Side Diff: core/fxge/include/fx_dib.h

Issue 2120353004: copy graphics state fully (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: wip; remove byte order Created 4 years, 5 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/fxge/ge/fx_ge_device.cpp ('k') | core/fxge/include/fx_ge.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_INCLUDE_FX_DIB_H_ 7 #ifndef CORE_FXGE_INCLUDE_FX_DIB_H_
8 #define CORE_FXGE_INCLUDE_FX_DIB_H_ 8 #define CORE_FXGE_INCLUDE_FX_DIB_H_
9 9
10 #include <memory> 10 #include <memory>
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 void GetOverlapRect(int& dest_left, 240 void GetOverlapRect(int& dest_left,
241 int& dest_top, 241 int& dest_top,
242 int& width, 242 int& width,
243 int& height, 243 int& height,
244 int src_width, 244 int src_width,
245 int src_height, 245 int src_height,
246 int& src_left, 246 int& src_left,
247 int& src_top, 247 int& src_top,
248 const CFX_ClipRgn* pClipRgn); 248 const CFX_ClipRgn* pClipRgn);
249 249
250 #if defined _SKIA_SUPPORT_
251 void DebugVerifyBitmapIsPreMultiplied(void* buffer = nullptr) const;
252 #endif
253
250 CFX_DIBitmap* m_pAlphaMask; 254 CFX_DIBitmap* m_pAlphaMask;
251 255
252 protected: 256 protected:
253 CFX_DIBSource(); 257 CFX_DIBSource();
254 258
255 int m_Width; 259 int m_Width;
256 int m_Height; 260 int m_Height;
257 int m_bpp; 261 int m_bpp;
258 uint32_t m_AlphaFlag; 262 uint32_t m_AlphaFlag;
259 uint32_t m_Pitch; 263 uint32_t m_Pitch;
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 int m_Status; 669 int m_Status;
666 FX_RECT m_ClipBox; 670 FX_RECT m_ClipBox;
667 uint32_t m_Flags; 671 uint32_t m_Flags;
668 int m_AlphaFlag; 672 int m_AlphaFlag;
669 void* m_pIccTransform; 673 void* m_pIccTransform;
670 FX_BOOL m_bRgbByteOrder; 674 FX_BOOL m_bRgbByteOrder;
671 int m_BlendType; 675 int m_BlendType;
672 }; 676 };
673 677
674 #endif // CORE_FXGE_INCLUDE_FX_DIB_H_ 678 #endif // CORE_FXGE_INCLUDE_FX_DIB_H_
OLDNEW
« no previous file with comments | « core/fxge/ge/fx_ge_device.cpp ('k') | core/fxge/include/fx_ge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698