Searched refs:svgPaint (Results 1 - 2 of 2) sorted by relevance

/external/skia/experimental/svg/model/
H A DSkSVGNode.cpp64 void SkSVGNode::setFill(const SkSVGPaint& svgPaint) { argument
65 fPresentationAttributes.fFill.set(svgPaint);
82 void SkSVGNode::setStroke(const SkSVGPaint& svgPaint) { argument
83 fPresentationAttributes.fStroke.set(svgPaint);
H A DSkSVGRenderContext.cpp103 void applySvgPaint(const SkSVGRenderContext& ctx, const SkSVGPaint& svgPaint, SkPaint* p) { argument
104 switch (svgPaint.type()) {
106 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha()));
109 const auto* node = ctx.findNodeById(svgPaint.iri());

Completed in 247 milliseconds