30 lines
632 B
C++
30 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);
|
|
}
|
|
|
|
}
|