void SVGRectElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledTransformableElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeX(); synchronizeY(); synchronizeWidth(); synchronizeHeight(); synchronizeRx(); synchronizeRy(); synchronizeExternalResourcesRequired(); SVGTests::synchronizeProperties(this, attrName); return; } if (attrName == SVGNames::xAttr) synchronizeX(); else if (attrName == SVGNames::yAttr) synchronizeY(); else if (attrName == SVGNames::widthAttr) synchronizeWidth(); else if (attrName == SVGNames::heightAttr) synchronizeHeight(); else if (attrName == SVGNames::rxAttr) synchronizeRx(); else if (attrName == SVGNames::ryAttr) synchronizeRy(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGTests::isKnownAttribute(attrName)) SVGTests::synchronizeProperties(this, attrName); }
void SVGEllipseElement::synchronizeProperty(const QualifiedName& attrName) { SVGStyledTransformableElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeCx(); synchronizeCy(); synchronizeRx(); synchronizeRy(); synchronizeExternalResourcesRequired(); SVGTests::synchronizeProperties(this, attrName); return; } if (attrName == SVGNames::cxAttr) synchronizeCx(); else if (attrName == SVGNames::cyAttr) synchronizeCy(); else if (attrName == SVGNames::rxAttr) synchronizeRx(); else if (attrName == SVGNames::ryAttr) synchronizeRy(); else if (SVGExternalResourcesRequired::isKnownAttribute(attrName)) synchronizeExternalResourcesRequired(); else if (SVGTests::isKnownAttribute(attrName)) SVGTests::synchronizeProperties(this, attrName); }