Home | History | Annotate | Download | only in svg

Lines Matching refs:attr

63 void SVGLinearGradientElement::parseMappedAttribute(Attribute* attr)
65 if (attr->name() == SVGNames::x1Attr)
66 setX1BaseValue(SVGLength(LengthModeWidth, attr->value()));
67 else if (attr->name() == SVGNames::y1Attr)
68 setY1BaseValue(SVGLength(LengthModeHeight, attr->value()));
69 else if (attr->name() == SVGNames::x2Attr)
70 setX2BaseValue(SVGLength(LengthModeWidth, attr->value()));
71 else if (attr->name() == SVGNames::y2Attr)
72 setY2BaseValue(SVGLength(LengthModeHeight, attr->value()));
74 SVGGradientElement::parseMappedAttribute(attr);