mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/Canvas: Support globalCompositionOperation
Canvas now supports compositing and various blending modes via the `globalCompositeOperation` attribute.
This commit is contained in:
committed by
Sam Atkins
parent
19ab213b16
commit
8575bddfe6
Notes:
github-actions[bot]
2025-02-05 11:28:07 +00:00
Author: https://github.com/skyz1 Commit: https://github.com/LadybirdBrowser/ladybird/commit/8575bddfe64 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3267 Reviewed-by: https://github.com/AtkinsSJ ✅ Reviewed-by: https://github.com/konradekk
@@ -18,6 +18,9 @@ public:
|
||||
virtual float global_alpha() const = 0;
|
||||
virtual void set_global_alpha(float) = 0;
|
||||
|
||||
virtual String global_composite_operation() const = 0;
|
||||
virtual void set_global_composite_operation(String) = 0;
|
||||
|
||||
protected:
|
||||
CanvasCompositing() = default;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user