Files
dl_old/third/lunasvg/source/graphicselement.cpp
T
2023-07-29 21:40:30 +08:00

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