mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 06:04:15 +00:00
LibWeb/SVG: Stub SVGTransform.angle
This commit is contained in:
parent
4406d06d26
commit
c102630a59
|
@ -36,4 +36,11 @@ SVGTransform::Type SVGTransform::type()
|
|||
return SVGTransform::Type::Unknown;
|
||||
}
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#coords-__svg__SVGTransform__angle
|
||||
float SVGTransform::angle()
|
||||
{
|
||||
dbgln("FIXME: Implement SVGTransform::angle()");
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ public:
|
|||
};
|
||||
|
||||
Type type();
|
||||
float angle();
|
||||
|
||||
private:
|
||||
SVGTransform(JS::Realm& realm);
|
||||
|
|
|
@ -12,7 +12,7 @@ interface SVGTransform {
|
|||
|
||||
readonly attribute unsigned short type;
|
||||
// FIXME: [SameObject] readonly attribute DOMMatrix matrix;
|
||||
// FIXME: readonly attribute float angle;
|
||||
readonly attribute float angle;
|
||||
|
||||
// FIXME: undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
// FIXME: undefined setTranslate(float tx, float ty);
|
||||
|
|
Loading…
Reference in a new issue