Lines Matching refs:stroke
38 // The thicker the stroke, the harder it is to produce high-quality results using tessellation. For
39 // the time being, we simply drop back to software rendering above this stroke width.
362 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
364 if (stroke.getStyle() == SkStrokeRec::kStroke_Style ||
365 stroke.getStyle() == SkStrokeRec::kStrokeAndFill_Style) {
369 SkScalar strokeWidth = args.fViewMatrix->getMaxScale() * stroke.getWidth();
370 if (strokeWidth < 1.0f && stroke.getStyle() == SkStrokeRec::kStroke_Style) {
375 stroke.getJoin() == SkPaint::Join::kRound_Join) {
380 if (stroke.getStyle() != SkStrokeRec::kFill_Style) {
402 const SkStrokeRec& stroke = args.fShape->style().strokeRec();
403 SkScalar strokeWidth = fill ? -1.0f : stroke.getWidth();
404 SkPaint::Join join = fill ? SkPaint::Join::kMiter_Join : stroke.getJoin();
405 SkScalar miterLimit = stroke.getMiter();
409 stroke.getStyle(), join, miterLimit, args.fUserStencilSettings);