LibWeb: Implement CanvasPattern.setTransform()

This method applies the given transformation matrix to a pattern.
This commit is contained in:
Tim Ledbetter 2025-10-26 19:06:13 +00:00 committed by Jelle Raaijmakers
parent 9312a9f86f
commit e1ff1e2095
Notes: github-actions[bot] 2025-10-27 23:42:03 +00:00
10 changed files with 87 additions and 7 deletions

View file

@ -24,6 +24,7 @@ public:
~CanvasPattern();
NonnullRefPtr<Gfx::PaintStyle> to_gfx_paint_style() { return m_pattern; }
WebIDL::ExceptionOr<void> set_transform(Geometry::DOMMatrix2DInit& transform);
private:
CanvasPattern(JS::Realm&, Gfx::CanvasPatternPaintStyle&);