mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 23:53:20 +00:00
31 lines
632 B
C++
31 lines
632 B
C++
![]() |
/*
|
||
|
* Copyright (c) 2024, MacDue <macdue@dueutil.tech>
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-2-Clause
|
||
|
*/
|
||
|
|
||
|
#include <LibWeb/Bindings/Intrinsics.h>
|
||
|
#include <LibWeb/SVG/SVGTransform.h>
|
||
|
|
||
|
namespace Web::SVG {
|
||
|
|
||
|
JS_DEFINE_ALLOCATOR(SVGTransform);
|
||
|
|
||
|
JS::NonnullGCPtr<SVGTransform> SVGTransform::create(JS::Realm& realm)
|
||
|
{
|
||
|
return realm.heap().allocate<SVGTransform>(realm, realm);
|
||
|
}
|
||
|
|
||
|
SVGTransform::SVGTransform(JS::Realm& realm)
|
||
|
: PlatformObject(realm) {};
|
||
|
|
||
|
SVGTransform::~SVGTransform() = default;
|
||
|
|
||
|
void SVGTransform::initialize(JS::Realm& realm)
|
||
|
{
|
||
|
Base::initialize(realm);
|
||
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(SVGTransform);
|
||
|
}
|
||
|
|
||
|
}
|