mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb/HTML: Add CanvasColorType
We don't implement the affected algorithms, and so the only change to
apply here is adding the dictionary member to IDL.
Corresponds to a5853ca8fa
This commit is contained in:
committed by
Andreas Kling
parent
875a7141a3
commit
0a805fe7a5
@@ -17,11 +17,13 @@
|
||||
#import <HTML/Canvas/CanvasUserInterface.idl>
|
||||
|
||||
enum PredefinedColorSpace { "srgb", "display-p3" };
|
||||
enum CanvasColorType { "unorm8", "float16" };
|
||||
|
||||
dictionary CanvasRenderingContext2DSettings {
|
||||
boolean alpha = true;
|
||||
boolean desynchronized = false;
|
||||
PredefinedColorSpace colorSpace = "srgb";
|
||||
CanvasColorType colorType = "unorm8";
|
||||
boolean willReadFrequently = false;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user