blob: bd895d7ff57dc8b22994db82fa6b87f36f80393d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* Copyright (c) 2022, Tobias Christiansen <tobyase@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "Bitmap.h"
namespace Gfx {
class BitmapMixer {
public:
enum class MixingMethod {
Add,
Lightest,
};
BitmapMixer(Bitmap& bitmap)
: m_bitmap(bitmap) {};
void mix_with(Bitmap&, MixingMethod);
private:
Bitmap& m_bitmap;
};
}
|