1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:17:34 +00:00

LibWeb: Add DOMMatrix translate

This commit is contained in:
Bastiaan van der Plaat 2023-09-03 12:43:09 +02:00 committed by Andreas Kling
parent 61c063f7b3
commit 5cd35b633a
8 changed files with 49 additions and 2 deletions

View file

@ -83,6 +83,7 @@ public:
bool is2d() const { return m_is_2d; }
bool is_identity() const;
JS::NonnullGCPtr<DOMMatrix> translate(Optional<double> const& tx, Optional<double> const& ty, Optional<double> const& tz) const;
WebIDL::ExceptionOr<JS::NonnullGCPtr<DOMMatrix>> multiply(DOMMatrixInit other = {});
JS::NonnullGCPtr<DOMMatrix> inverse() const;