mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
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
|