Home
last modified time | relevance | path

Searched refs:refSvgNode (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_use.cpp47 auto refSvgNode = svgContext->GetSvgNodeById(attributes_.href); in AsPath() local
48 CHECK_NULL_RETURN(refSvgNode, RSRecordingPath()); in AsPath()
50 AttributeScope scope(refSvgNode); in AsPath()
51 refSvgNode->InheritAttr(attributes_); in AsPath()
52 return refSvgNode->AsPath(viewPort); in AsPath()
62 auto refSvgNode = svgContext->GetSvgNodeById(attributes_.href); in OnDraw() local
63 CHECK_NULL_VOID(refSvgNode); in OnDraw()
75 AttributeScope scope(refSvgNode); in OnDraw()
76 refSvgNode->InheritUseAttr(attributes_); in OnDraw()
78 refSvgNode->Draw(canvas, layout, color); in OnDraw()
H A Dsvg_graphic.cpp46 auto refSvgNode = svgContext->GetSvgNodeById(fillState_.GetHref()); in OnDraw() local
47 CHECK_NULL_VOID(refSvgNode); in OnDraw()
48 refSvgNode->Draw(canvas, layout, color); in OnDraw()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_node.cpp59 auto refSvgNode = svgContext->GetSvgNodeById(href); in AsClipPathCommands() local
60 if (!refSvgNode) { in AsClipPathCommands()
65 auto skPath = refSvgNode->AsPath(viewPort); in AsClipPathCommands()
70 auto rsPath = refSvgNode->AsPath(viewPort); in AsClipPathCommands()
85 auto refSvgNode = svgContext->GetSvgNodeById(href); in GetGradient() local
86 if (!refSvgNode) { in GetGradient()
90 auto svgGradient = DynamicCast<SvgGradient>(refSvgNode); in GetGradient()
H A Dsvg_use.cpp56 auto refSvgNode = svgContext->GetSvgNodeById(declaration->GetHref()); in CreateRender() local
57 if (!refSvgNode) { in CreateRender()
69 auto refRenderNode = refSvgNode->CreateRender(layoutParam, declaration, useBox); in CreateRender()
119 auto refSvgNode = svgContext->GetSvgNodeById(declaration->GetHref()); in AsPath() local
120 if (!refSvgNode) { in AsPath()
128 refSvgNode->Inherit(declaration); in AsPath()
129 return refSvgNode->AsPath(viewPort); in AsPath()