Lines Matching refs:props
145 static sk_sp<SkPathEffect> dash_effect(const SkSVGPresentationAttributes& props,
147 if (props.fStrokeDashArray->type() != SkSVGDashArray::Type::kDashArray) {
151 const auto& da = *props.fStrokeDashArray;
167 const auto phase = lctx.resolve(*props.fStrokeDashOffset,
307 const auto& props = fPresentationContext->fInherited;
308 const bool hasFill = props.fFill ->type() != SkSVGPaint::Type::kNone,
309 hasStroke = props.fStroke->type() != SkSVGPaint::Type::kNone;
467 const auto& props = fPresentationContext->fInherited;
468 auto p = this->commonPaint(*props.fFill, *props.fFillOpacity);
478 const auto& props = fPresentationContext->fInherited;
479 auto p = this->commonPaint(*props.fStroke, *props.fStrokeOpacity);
483 p->setStrokeWidth(fLengthContext->resolve(*props.fStrokeWidth,
485 p->setStrokeCap(toSkCap(*props.fStrokeLineCap));
486 p->setStrokeJoin(toSkJoin(*props.fStrokeLineJoin));
487 p->setStrokeMiter(*props.fStrokeMiterLimit);
488 p->setPathEffect(dash_effect(props, *fLengthContext));