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