void SVGLineElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledTransformableElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeX1(); synchronizeY1(); synchronizeX2(); synchronizeY2(); synchronizeExternalResourcesRequired(); SVGTests::synchronizeProperties(this, attrName); return; } if (attrName == SVGNames::x1Attr) synchronizeX1(); else if (attrName == SVGNames::y1Attr) synchronizeY1(); else if (attrName == SVGNames::x2Attr) synchronizeX2(); else if (attrName == SVGNames::y2Attr) synchronizeY2(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGTests::isKnownAttribute(attrName)) SVGTests::synchronizeProperties(this, attrName); }
void SVGLinearGradientElement::synchronizeProperty(const QualifiedName& attrName) { SVGGradientElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeX1(); synchronizeY1(); synchronizeX2(); synchronizeY2(); return; } if (attrName == SVGNames::x1Attr) synchronizeX1(); else if (attrName == SVGNames::y1Attr) synchronizeY1(); else if (attrName == SVGNames::x2Attr) synchronizeX2(); else if (attrName == SVGNames::y2Attr) synchronizeY2(); }