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

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

Issue 2182763002: add native draw bitmap with alpha mask (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: address comments Created 4 years, 4 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/include/cfx_renderdevice.h ('k') | core/fxge/skia/fx_skia_device.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 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 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_IFX_RENDERDEVICEDRIVER_H_ 7 #ifndef CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_
8 #define CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ 8 #define CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_
9 9
10 #include "core/fxcrt/include/fx_system.h" 10 #include "core/fxcrt/include/fx_system.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 FX_FLOAT font_size, 92 FX_FLOAT font_size,
93 uint32_t color); 93 uint32_t color);
94 virtual void* GetPlatformSurface() const; 94 virtual void* GetPlatformSurface() const;
95 virtual int GetDriverType() const; 95 virtual int GetDriverType() const;
96 virtual void ClearDriver(); 96 virtual void ClearDriver();
97 virtual FX_BOOL DrawShading(const CPDF_ShadingPattern* pPattern, 97 virtual FX_BOOL DrawShading(const CPDF_ShadingPattern* pPattern,
98 const CFX_Matrix* pMatrix, 98 const CFX_Matrix* pMatrix,
99 const FX_RECT& clip_rect, 99 const FX_RECT& clip_rect,
100 int alpha, 100 int alpha,
101 FX_BOOL bAlphaMode); 101 FX_BOOL bAlphaMode);
102 virtual bool SetBitsWithMask(const CFX_DIBSource* pBitmap,
103 const CFX_DIBSource* pMask,
104 int left,
105 int top,
106 int bitmap_alpha,
107 int blend_type);
102 }; 108 };
103 109
104 #endif // CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_ 110 #endif // CORE_FXGE_INCLUDE_IFX_RENDERDEVICEDRIVER_H_
OLDNEW
« no previous file with comments | « core/fxge/include/cfx_renderdevice.h ('k') | core/fxge/skia/fx_skia_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698