Home
last modified time | relevance | path

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

/external/skia/experimental/svg/model/
DSkSVGNode.cpp71 void SkSVGNode::setFill(const SkSVGPaint& svgPaint) { in setFill() argument
72 fPresentationAttributes.fFill.set(svgPaint); in setFill()
89 void SkSVGNode::setStroke(const SkSVGPaint& svgPaint) { in setStroke() argument
90 fPresentationAttributes.fStroke.set(svgPaint); in setStroke()
DSkSVGRenderContext.cpp104 void applySvgPaint(const SkSVGRenderContext& ctx, const SkSVGPaint& svgPaint, SkPaint* p) { in applySvgPaint() argument
105 switch (svgPaint.type()) { in applySvgPaint()
107 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha())); in applySvgPaint()
110 const auto* node = ctx.findNodeById(svgPaint.iri()); in applySvgPaint()
/external/skqp/experimental/svg/model/
DSkSVGNode.cpp71 void SkSVGNode::setFill(const SkSVGPaint& svgPaint) { in setFill() argument
72 fPresentationAttributes.fFill.set(svgPaint); in setFill()
89 void SkSVGNode::setStroke(const SkSVGPaint& svgPaint) { in setStroke() argument
90 fPresentationAttributes.fStroke.set(svgPaint); in setStroke()
DSkSVGRenderContext.cpp104 void applySvgPaint(const SkSVGRenderContext& ctx, const SkSVGPaint& svgPaint, SkPaint* p) { in applySvgPaint() argument
105 switch (svgPaint.type()) { in applySvgPaint()
107 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha())); in applySvgPaint()
110 const auto* node = ctx.findNodeById(svgPaint.iri()); in applySvgPaint()