Lines Matching refs:attr
56 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
63 node->setAttribute(attr, SkSVGStringValue(parseResult->iri()));
67 bool SetStringAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
71 node->setAttribute(attr, SkSVGStringValue(strType));
75 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
82 node->setAttribute(attr, SkSVGTransformValue(*parseResult));
86 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
93 node->setAttribute(attr, SkSVGLengthValue(*parseResult));
97 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
105 node->setAttribute(attr, SkSVGViewBoxValue(viewBox));
110 SkSVGAttribute attr,
117 node->setAttribute(attr, SkSVGObjectBoundingBoxUnitsValue(*parseResult));
121 bool SetPreserveAspectRatioAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
129 node->setAttribute(attr, SkSVGPreserveAspectRatioValue(par));
207 bool (*fSetter)(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue);