mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
32546b5874
git-subtree-dir: external/lunasvg git-subtree-split: 7417baa0aff477f361e44e2aa793fdb0c7aae352
18 lines
308 B
C++
18 lines
308 B
C++
#include "graphicselement.h"
|
|
#include "parser.h"
|
|
|
|
namespace lunasvg {
|
|
|
|
GraphicsElement::GraphicsElement(ElementId id)
|
|
: StyledElement(id)
|
|
{
|
|
}
|
|
|
|
Transform GraphicsElement::transform() const
|
|
{
|
|
auto& value = get(PropertyId::Transform);
|
|
return Parser::parseTransform(value);
|
|
}
|
|
|
|
} // namespace lunasvg
|