mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 16:02:53 +00:00
LibWeb: Stub out SVGTransform
This commit is contained in:
parent
ce11a34fc6
commit
a6a40a5bc6
Notes:
sideshowbarker
2024-07-17 18:49:10 +09:00
Author: https://github.com/MacDue
Commit: a6a40a5bc6
Pull-request: https://github.com/SerenityOS/serenity/pull/23793
Reviewed-by: https://github.com/shannonbooth
6 changed files with 86 additions and 0 deletions
30
Userland/Libraries/LibWeb/SVG/SVGTransform.cpp
Normal file
30
Userland/Libraries/LibWeb/SVG/SVGTransform.cpp
Normal file
|
@ -0,0 +1,30 @@
|
|||
/*
|
||||
* 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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue