LibWeb/SVG: Stub SVGTransform.setSkewY

This commit is contained in:
Jamie Mansfield 2024-05-06 12:25:13 +01:00 committed by Andrew Kaster
parent dc6febaea6
commit 3f113e728f
Notes: sideshowbarker 2024-07-17 06:00:02 +09:00
3 changed files with 9 additions and 1 deletions

View File

@ -75,4 +75,11 @@ void SVGTransform::set_skew_x(float angle)
dbgln("FIXME: Implement SVGTransform::set_skew_x(float angle)");
}
// https://svgwg.org/svg2-draft/single-page.html#coords-__svg__SVGTransform__setSkewY
void SVGTransform::set_skew_y(float angle)
{
(void)angle;
dbgln("FIXME: Implement SVGTransform::set_skew_y(float angle)");
}
}

View File

@ -38,6 +38,7 @@ public:
void set_scale(float sx, float sy);
void set_rotate(float angle, float cx, float cy);
void set_skew_x(float angle);
void set_skew_y(float angle);
private:
SVGTransform(JS::Realm& realm);

View File

@ -19,5 +19,5 @@ interface SVGTransform {
undefined setScale(float sx, float sy);
undefined setRotate(float angle, float cx, float cy);
undefined setSkewX(float angle);
// FIXME: undefined setSkewY(float angle);
undefined setSkewY(float angle);
};