Lines Matching refs:sk_sp
37 bool SetPaintAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPaintAttribute()
49 bool SetColorAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetColorAttribute()
61 bool SetIRIAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetIRIAttribute()
73 bool SetClipPathAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetClipPathAttribute()
86 bool SetPathDataAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPathDataAttribute()
97 bool SetTransformAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetTransformAttribute()
109 bool SetLengthAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLengthAttribute()
121 bool SetNumberAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetNumberAttribute()
133 bool SetViewBoxAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetViewBoxAttribute()
145 bool SetLineCapAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLineCapAttribute()
157 bool SetLineJoinAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetLineJoinAttribute()
169 bool SetSpreadMethodAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetSpreadMethodAttribute()
181 bool SetPointsAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetPointsAttribute()
193 bool SetFillRuleAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetFillRuleAttribute()
205 bool SetVisibilityAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetVisibilityAttribute()
217 bool SetDashArrayAttribute(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, in SetDashArrayAttribute()
277 void set_string_attribute(const sk_sp<SkSVGNode>& node, const char* name, const char* value);
279 bool SetStyleAttributes(const sk_sp<SkSVGNode>& node, SkSVGAttribute, in SetStyleAttributes()
303 bool (*fSetter)(const sk_sp<SkSVGNode>& node, SkSVGAttribute attr, const char* stringValue);
352 SortedDictionaryEntry<sk_sp<SkSVGNode>(*)()> gTagFactories[] = {
353 { "a" , []() -> sk_sp<SkSVGNode> { return SkSVGG::Make(); }}, in __anond4a923770202()
354 { "circle" , []() -> sk_sp<SkSVGNode> { return SkSVGCircle::Make(); }}, in __anond4a923770302()
355 { "clipPath" , []() -> sk_sp<SkSVGNode> { return SkSVGClipPath::Make(); }}, in __anond4a923770402()
356 { "defs" , []() -> sk_sp<SkSVGNode> { return SkSVGDefs::Make(); }}, in __anond4a923770502()
357 { "ellipse" , []() -> sk_sp<SkSVGNode> { return SkSVGEllipse::Make(); }}, in __anond4a923770602()
358 { "g" , []() -> sk_sp<SkSVGNode> { return SkSVGG::Make(); }}, in __anond4a923770702()
359 { "line" , []() -> sk_sp<SkSVGNode> { return SkSVGLine::Make(); }}, in __anond4a923770802()
360 { "linearGradient", []() -> sk_sp<SkSVGNode> { return SkSVGLinearGradient::Make(); }}, in __anond4a923770902()
361 { "path" , []() -> sk_sp<SkSVGNode> { return SkSVGPath::Make(); }}, in __anond4a923770a02()
362 { "pattern" , []() -> sk_sp<SkSVGNode> { return SkSVGPattern::Make(); }}, in __anond4a923770b02()
363 { "polygon" , []() -> sk_sp<SkSVGNode> { return SkSVGPoly::MakePolygon(); }}, in __anond4a923770c02()
364 { "polyline" , []() -> sk_sp<SkSVGNode> { return SkSVGPoly::MakePolyline(); }}, in __anond4a923770d02()
365 { "radialGradient", []() -> sk_sp<SkSVGNode> { return SkSVGRadialGradient::Make(); }}, in __anond4a923770e02()
366 { "rect" , []() -> sk_sp<SkSVGNode> { return SkSVGRect::Make(); }}, in __anond4a923770f02()
367 { "stop" , []() -> sk_sp<SkSVGNode> { return SkSVGStop::Make(); }}, in __anond4a923771002()
368 { "svg" , []() -> sk_sp<SkSVGNode> { return SkSVGSVG::Make(); }}, in __anond4a923771102()
369 { "use" , []() -> sk_sp<SkSVGNode> { return SkSVGUse::Make(); }}, in __anond4a923771202()
374 ConstructionContext(const ConstructionContext& other, const sk_sp<SkSVGNode>& newParent) in ConstructionContext()
381 void set_string_attribute(const sk_sp<SkSVGNode>& node, const char* name, const char* value) { in set_string_attribute()
402 const sk_sp<SkSVGNode>& svgNode, SkSVGIDMapper* mapper) { in parse_node_attributes()
415 sk_sp<SkSVGNode> construct_svg_node(const SkDOM& dom, const ConstructionContext& ctx, in construct_svg_node()
439 sk_sp<SkSVGNode> node = gTagFactories[tagIndex].fValue(); in construct_svg_node()
445 sk_sp<SkSVGNode> childNode = construct_svg_node(dom, localCtx, child); in construct_svg_node()
460 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromDOM(const SkDOM& xmlDom) { in MakeFromDOM()
461 sk_sp<SkSVGDOM> dom = sk_make_sp<SkSVGDOM>(); in MakeFromDOM()
472 sk_sp<SkSVGDOM> SkSVGDOM::MakeFromStream(SkStream& svgStream) { in MakeFromStream()
508 void SkSVGDOM::setRoot(sk_sp<SkSVGNode> root) { in setRoot()