mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Implement CanvasPattern.setTransform()
This method applies the given transformation matrix to a pattern.
This commit is contained in:
parent
9312a9f86f
commit
e1ff1e2095
Notes:
github-actions[bot]
2025-10-27 23:42:03 +00:00
Author: https://github.com/tcl3
Commit: e1ff1e2095
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6596
Reviewed-by: https://github.com/gmta ✅
10 changed files with 87 additions and 7 deletions
|
|
@ -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&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue