Victor Porof | 6e09692 | 2022-06-10 13:01:05 +0000 | [diff] [blame^] | 1 | // GENERATED CONTENT - DO NOT EDIT |
| 2 | // Content was automatically extracted by Reffy into webref |
| 3 | // (https://github.com/w3c/webref) |
| 4 | // Source: CSS Painting API Level 1 (https://drafts.css-houdini.org/css-paint-api-1/) |
| 5 | |
| 6 | partial namespace CSS { |
| 7 | [SameObject] readonly attribute Worklet paintWorklet; |
| 8 | }; |
| 9 | |
| 10 | [Global=(Worklet,PaintWorklet),Exposed=PaintWorklet] |
| 11 | interface PaintWorkletGlobalScope : WorkletGlobalScope { |
| 12 | undefined registerPaint(DOMString name, VoidFunction paintCtor); |
| 13 | readonly attribute unrestricted double devicePixelRatio; |
| 14 | }; |
| 15 | |
| 16 | dictionary PaintRenderingContext2DSettings { |
| 17 | boolean alpha = true; |
| 18 | }; |
| 19 | |
| 20 | [Exposed=PaintWorklet] |
| 21 | interface PaintRenderingContext2D { |
| 22 | }; |
| 23 | PaintRenderingContext2D includes CanvasState; |
| 24 | PaintRenderingContext2D includes CanvasTransform; |
| 25 | PaintRenderingContext2D includes CanvasCompositing; |
| 26 | PaintRenderingContext2D includes CanvasImageSmoothing; |
| 27 | PaintRenderingContext2D includes CanvasFillStrokeStyles; |
| 28 | PaintRenderingContext2D includes CanvasShadowStyles; |
| 29 | PaintRenderingContext2D includes CanvasRect; |
| 30 | PaintRenderingContext2D includes CanvasDrawPath; |
| 31 | PaintRenderingContext2D includes CanvasDrawImage; |
| 32 | PaintRenderingContext2D includes CanvasPathDrawingStyles; |
| 33 | PaintRenderingContext2D includes CanvasPath; |
| 34 | |
| 35 | [Exposed=PaintWorklet] |
| 36 | interface PaintSize { |
| 37 | readonly attribute double width; |
| 38 | readonly attribute double height; |
| 39 | }; |