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

Side by Side Diff: core/fxge/ifx_renderdevicedriver.cpp

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/ge/cfx_renderdevice.cpp ('k') | core/fxge/include/cfx_fxgedevice.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 #include "core/fxge/include/ifx_renderdevicedriver.h" 7 #include "core/fxge/include/ifx_renderdevicedriver.h"
8 8
9 #include "core/fxcrt/include/fx_coordinates.h" 9 #include "core/fxcrt/include/fx_coordinates.h"
10 #include "core/fxge/include/cfx_pathdata.h" 10 #include "core/fxge/include/cfx_pathdata.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 void IFX_RenderDeviceDriver::ClearDriver() {} 86 void IFX_RenderDeviceDriver::ClearDriver() {}
87 87
88 FX_BOOL IFX_RenderDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern, 88 FX_BOOL IFX_RenderDeviceDriver::DrawShading(const CPDF_ShadingPattern* pPattern,
89 const CFX_Matrix* pMatrix, 89 const CFX_Matrix* pMatrix,
90 const FX_RECT& clip_rect, 90 const FX_RECT& clip_rect,
91 int alpha, 91 int alpha,
92 FX_BOOL bAlphaMode) { 92 FX_BOOL bAlphaMode) {
93 return false; 93 return false;
94 } 94 }
95
96 bool IFX_RenderDeviceDriver::SetBitsWithMask(const CFX_DIBSource* pBitmap,
97 const CFX_DIBSource* pMask,
98 int left,
99 int top,
100 int bitmap_alpha,
101 int blend_type) {
102 return false;
103 }
OLDNEW
« no previous file with comments | « core/fxge/ge/cfx_renderdevice.cpp ('k') | core/fxge/include/cfx_fxgedevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698