void SVGFESpecularLightingElement::synchronizeProperty(const QualifiedName& attrName) { SVGFilterPrimitiveStandardAttributes::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeIn1(); synchronizeSurfaceScale(); synchronizeSpecularConstant(); synchronizeSpecularExponent(); synchronizeKernelUnitLengthX(); synchronizeKernelUnitLengthY(); return; } if (attrName == SVGNames::inAttr) synchronizeIn1(); else if (attrName == SVGNames::surfaceScaleAttr) synchronizeSurfaceScale(); else if (attrName == SVGNames::specularConstantAttr) synchronizeSpecularConstant(); else if (attrName == SVGNames::specularExponentAttr) synchronizeSpecularExponent(); else if (attrName == SVGNames::kernelUnitLengthAttr) { synchronizeKernelUnitLengthX(); synchronizeKernelUnitLengthY(); } }
void SVGFELightElement::synchronizeProperty(const QualifiedName& attrName) { SVGElement::synchronizeProperty(attrName); if (attrName == anyQName()) { synchronizeAzimuth(); synchronizeElevation(); synchronizeX(); synchronizeY(); synchronizeZ(); synchronizePointsAtX(); synchronizePointsAtY(); synchronizePointsAtZ(); synchronizeSpecularExponent(); synchronizeLimitingConeAngle(); return; } if (attrName == SVGNames::azimuthAttr) synchronizeAzimuth(); else if (attrName == SVGNames::elevationAttr) synchronizeElevation(); else if (attrName == SVGNames::xAttr) synchronizeX(); else if (attrName == SVGNames::yAttr) synchronizeY(); else if (attrName == SVGNames::zAttr) synchronizeZ(); else if (attrName == SVGNames::pointsAtXAttr) synchronizePointsAtX(); else if (attrName == SVGNames::pointsAtYAttr) synchronizePointsAtY(); else if (attrName == SVGNames::pointsAtZAttr) synchronizePointsAtZ(); else if (attrName == SVGNames::specularExponentAttr) synchronizeSpecularExponent(); else if (attrName == SVGNames::limitingConeAngleAttr) synchronizeLimitingConeAngle(); }