Lines Matching refs:SkSVGAttribute
34 bool SetPaintAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
46 bool SetColorAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
58 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
70 bool SetClipPathAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
83 bool SetPathDataAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
94 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
106 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
118 bool SetNumberAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
130 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
142 bool SetLineCapAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
154 bool SetLineJoinAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
166 bool SetSpreadMethodAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
178 bool SetPointsAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
190 bool SetFillRuleAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr,
252 bool SetStyleAttributes(const sk_sp<SkSVGNode>& node, SkSVGAttribute,
275 SkSVGAttribute fAttr;
276 bool (*fSetter)(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue);
280 { "clip-path" , { SkSVGAttribute::kClipPath , SetClipPathAttribute }},
281 { "cx" , { SkSVGAttribute::kCx , SetLengthAttribute }},
282 { "cy" , { SkSVGAttribute::kCy , SetLengthAttribute }},
283 { "d" , { SkSVGAttribute::kD , SetPathDataAttribute }},
284 { "fill" , { SkSVGAttribute::kFill , SetPaintAttribute }},
285 { "fill-opacity" , { SkSVGAttribute::kFillOpacity , SetNumberAttribute }},
286 { "fill-rule" , { SkSVGAttribute::kFillRule , SetFillRuleAttribute }},
287 { "gradientTransform", { SkSVGAttribute::kGradientTransform, SetTransformAttribute }},
288 { "height" , { SkSVGAttribute::kHeight , SetLengthAttribute }},
289 { "offset" , { SkSVGAttribute::kOffset , SetLengthAttribute }},
290 { "opacity" , { SkSVGAttribute::kOpacity , SetNumberAttribute }},
291 { "points" , { SkSVGAttribute::kPoints , SetPointsAttribute }},
292 { "r" , { SkSVGAttribute::kR , SetLengthAttribute }},
293 { "rx" , { SkSVGAttribute::kRx , SetLengthAttribute }},
294 { "ry" , { SkSVGAttribute::kRy , SetLengthAttribute }},
295 { "spreadMethod" , { SkSVGAttribute::kSpreadMethod , SetSpreadMethodAttribute }},
296 { "stop-color" , { SkSVGAttribute::kStopColor , SetColorAttribute }},
297 { "stop-opacity" , { SkSVGAttribute::kStopOpacity , SetNumberAttribute }},
298 { "stroke" , { SkSVGAttribute::kStroke , SetPaintAttribute }},
299 { "stroke-linecap" , { SkSVGAttribute::kStrokeLineCap , SetLineCapAttribute }},
300 { "stroke-linejoin" , { SkSVGAttribute::kStrokeLineJoin , SetLineJoinAttribute }},
301 { "stroke-opacity" , { SkSVGAttribute::kStrokeOpacity , SetNumberAttribute }},
302 { "stroke-width" , { SkSVGAttribute::kStrokeWidth , SetLengthAttribute }},
303 { "style" , { SkSVGAttribute::kUnknown , SetStyleAttributes }},
304 { "transform" , { SkSVGAttribute::kTransform , SetTransformAttribute }},
305 { "viewBox" , { SkSVGAttribute::kViewBox , SetViewBoxAttribute }},
306 { "width" , { SkSVGAttribute::kWidth , SetLengthAttribute }},
307 { "x" , { SkSVGAttribute::kX , SetLengthAttribute }},
308 { "x1" , { SkSVGAttribute::kX1 , SetLengthAttribute }},
309 { "x2" , { SkSVGAttribute::kX2 , SetLengthAttribute }},
310 { "xlink:href" , { SkSVGAttribute::kHref , SetIRIAttribute }},
311 { "y" , { SkSVGAttribute::kY , SetLengthAttribute }},
312 { "y1" , { SkSVGAttribute::kY1 , SetLengthAttribute }},
313 { "y2" , { SkSVGAttribute::kY2 , SetLengthAttribute }},