mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 00:56:39 +00:00
LibWeb: Stub out SVGTransform
This commit is contained in:
parent
ce11a34fc6
commit
a6a40a5bc6
Notes:
sideshowbarker
2024-07-17 18:49:10 +09:00
Author: https://github.com/MacDue
Commit: a6a40a5bc6
Pull-request: https://github.com/SerenityOS/serenity/pull/23793
Reviewed-by: https://github.com/shannonbooth
6 changed files with 86 additions and 0 deletions
24
Userland/Libraries/LibWeb/SVG/SVGTransform.idl
Normal file
24
Userland/Libraries/LibWeb/SVG/SVGTransform.idl
Normal file
|
@ -0,0 +1,24 @@
|
|||
// https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGTransform
|
||||
[Exposed=Window]
|
||||
interface SVGTransform {
|
||||
|
||||
// Transform Types
|
||||
const unsigned short SVG_TRANSFORM_UNKNOWN = 0;
|
||||
const unsigned short SVG_TRANSFORM_MATRIX = 1;
|
||||
const unsigned short SVG_TRANSFORM_TRANSLATE = 2;
|
||||
const unsigned short SVG_TRANSFORM_SCALE = 3;
|
||||
const unsigned short SVG_TRANSFORM_ROTATE = 4;
|
||||
const unsigned short SVG_TRANSFORM_SKEWX = 5;
|
||||
const unsigned short SVG_TRANSFORM_SKEWY = 6;
|
||||
|
||||
// FIXME: readonly attribute unsigned short type;
|
||||
// FIXME: [SameObject] readonly attribute DOMMatrix matrix;
|
||||
// FIXME: readonly attribute float angle;
|
||||
|
||||
// FIXME: undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
// FIXME: undefined setTranslate(float tx, float ty);
|
||||
// FIXME: undefined setScale(float sx, float sy);
|
||||
// FIXME: undefined setRotate(float angle, float cx, float cy);
|
||||
// FIXME: undefined setSkewX(float angle);
|
||||
// FIXME: undefined setSkewY(float angle);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue