Exemplo n.º 1
0
void LayoutSVGShape::updateLocalTransform() {
  SVGGraphicsElement* graphicsElement = toSVGGraphicsElement(element());
  if (graphicsElement->hasTransform(SVGElement::IncludeMotionTransform)) {
    m_localTransform.setTransform(graphicsElement->calculateTransform(
        SVGElement::IncludeMotionTransform));
  } else {
    m_localTransform = AffineTransform();
  }
}