mirror of
https://gitlab.com/es-de/emulationstation-de.git
synced 2025-04-02 10:51:45 -04:00
17 lines
308 B
C++
17 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
|