Searched refs:svgPaint (Results 1 – 4 of 4) sorted by relevance
71 void SkSVGNode::setFill(const SkSVGPaint& svgPaint) { in setFill() argument72 fPresentationAttributes.fFill.set(svgPaint); in setFill()89 void SkSVGNode::setStroke(const SkSVGPaint& svgPaint) { in setStroke() argument90 fPresentationAttributes.fStroke.set(svgPaint); in setStroke()
104 void applySvgPaint(const SkSVGRenderContext& ctx, const SkSVGPaint& svgPaint, SkPaint* p) { in applySvgPaint() argument105 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()