Coverage Report

Created: 2025-08-28 06:26

/src/serenity/Userland/Libraries/LibWeb/HTML/Canvas/CanvasCompositing.h
Line
Count
Source (jump to first uncovered line)
1
/*
2
 * Copyright (c) 2023, MacDue <macdue@dueutil.tech>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#pragma once
8
9
#include <LibWeb/HTML/ImageData.h>
10
11
namespace Web::HTML {
12
13
// https://html.spec.whatwg.org/multipage/canvas.html#canvascompositing
14
class CanvasCompositing {
15
public:
16
0
    virtual ~CanvasCompositing() = default;
17
18
    virtual float global_alpha() const = 0;
19
    virtual void set_global_alpha(float) = 0;
20
21
protected:
22
0
    CanvasCompositing() = default;
23
};
24
25
}