mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibWeb/SVG: Stub SVGTransform.setRotate
This commit is contained in:
committed by
Andrew Kaster
parent
effb696eef
commit
0bac2d5fbd
@@ -59,4 +59,13 @@ void SVGTransform::set_scale(float sx, float sy)
|
||||
dbgln("FIXME: Implement SVGTransform::set_scale(float sx, float sy)");
|
||||
}
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#coords-__svg__SVGTransform__setRotate
|
||||
void SVGTransform::set_rotate(float angle, float cx, float cy)
|
||||
{
|
||||
(void)angle;
|
||||
(void)cx;
|
||||
(void)cy;
|
||||
dbgln("FIXME: Implement SVGTransform::set_rotate(float angle, float cx, float cy)");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ public:
|
||||
|
||||
void set_translate(float tx, float ty);
|
||||
void set_scale(float sx, float sy);
|
||||
void set_rotate(float angle, float cx, float cy);
|
||||
|
||||
private:
|
||||
SVGTransform(JS::Realm& realm);
|
||||
|
||||
@@ -17,7 +17,7 @@ interface SVGTransform {
|
||||
// FIXME: undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
undefined setTranslate(float tx, float ty);
|
||||
undefined setScale(float sx, float sy);
|
||||
// FIXME: undefined setRotate(float angle, float cx, float cy);
|
||||
undefined setRotate(float angle, float cx, float cy);
|
||||
// FIXME: undefined setSkewX(float angle);
|
||||
// FIXME: undefined setSkewY(float angle);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user