mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
fd498ff35e
ead790126 fix name conflict with rlottie #100 6192f2536 Fix fill default color #105 be5ec7a4f Release v2.3.4 29c32978d Fix std::clamp bug #105 41f21ccb1 Release v2.3.3 git-subtree-dir: external/lunasvg git-subtree-split: ead790126004b86a2dbbe9f4aaf27e82e419721e
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
|