Home | History | Annotate | Download | only in svg

Lines Matching refs:attr

55 void SVGLinearGradientElement::parseMappedAttribute(MappedAttribute* attr)
57 if (attr->name() == SVGNames::x1Attr)
58 setX1BaseValue(SVGLength(LengthModeWidth, attr->value()));
59 else if (attr->name() == SVGNames::y1Attr)
60 setY1BaseValue(SVGLength(LengthModeHeight, attr->value()));
61 else if (attr->name() == SVGNames::x2Attr)
62 setX2BaseValue(SVGLength(LengthModeWidth, attr->value()));
63 else if (attr->name() == SVGNames::y2Attr)
64 setY2BaseValue(SVGLength(LengthModeHeight, attr->value()));
66 SVGGradientElement::parseMappedAttribute(attr);