Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
blend.h
Go to the documentation of this file.
1// Copyright 2023 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6
7#ifndef CORE_FXGE_DIB_BLEND_H_
8#define CORE_FXGE_DIB_BLEND_H_
9
10enum class BlendMode;
11
12namespace fxge {
13
14// Note that Blend() only handles separable blend modes.
15int Blend(BlendMode blend_mode, int back_color, int src_color);
16
17} // namespace fxge
18
19#endif // CORE_FXGE_DIB_BLEND_H_
#define DCHECK_GE(x, y)
Definition check_op.h:22
#define DCHECK_LE(x, y)
Definition check_op.h:21
BlendMode
Definition fx_dib.h:119
@ kExclusion
Definition fx_dib.h:131
@ kNormal
Definition fx_dib.h:120
@ kColorBurn
Definition fx_dib.h:127
@ kLighten
Definition fx_dib.h:125
@ kMultiply
Definition fx_dib.h:121
@ kColorDodge
Definition fx_dib.h:126
@ kScreen
Definition fx_dib.h:122
@ kSoftLight
Definition fx_dib.h:129
@ kDifference
Definition fx_dib.h:130
@ kOverlay
Definition fx_dib.h:123
@ kHardLight
Definition fx_dib.h:128
@ kDarken
Definition fx_dib.h:124
int Blend(BlendMode blend_mode, int back_color, int src_color)
Definition blend.cpp:47
#define NOTREACHED_NORETURN()
Definition notreached.h:22