Lines Matching refs:stroke
750 const SkStrokeRec& stroke = style->strokeRec();
751 if (stroke.getStyle() == SkStrokeRec::kFill_Style) {
755 } else if ((stroke.getStyle() == SkStrokeRec::kStroke_Style ||
756 stroke.getStyle() == SkStrokeRec::kHairline_Style) &&
761 // GrStyledShape to handle stroke caps and dashing properly.
767 stroke.getJoin() == SkPaint::kMiter_Join &&
768 stroke.getMiter() >= SK_ScalarSqrt2) ? GrAAType::kCoverage
771 rect, stroke);
772 // op may be null if the stroke is not supported or if using coverage aa and the view matrix
1040 const SkStrokeRec& stroke = style.strokeRec();
1041 if (stroke.getStyle() == SkStrokeRec::kFill_Style && rrect.isEmpty()) {
1049 // works for axis-aligned round rects. This also only works for filled rrects since the stroke
1057 if (clip && stroke.getStyle() == SkStrokeRec::kFill_Style &&
1098 stroke, this->caps()->shaderCaps());
1108 fContext, std::move(paint), viewMatrix, rrect, stroke, this->caps()->shaderCaps());
1262 // For shadows, instead of using a stroke we specify an inset from the penumbra
1374 const SkStrokeRec& stroke = style.strokeRec();
1377 if (stroke.getStyle() == SkStrokeRec::kFill_Style) {
1679 const SkStrokeRec& stroke) {
1682 SkASSERT(stroke.getStyle() == SkStrokeRec::kStroke_Style);
1683 SkASSERT(stroke.getWidth() > 0);
1686 SkASSERT(SkPaint::kRound_Cap != stroke.getCap());
1688 const SkScalar halfWidth = 0.5f * stroke.getWidth();
1690 // Prevents underflow when stroke width is epsilon > 0 (so technically not a hairline).
1707 if (SkPaint::kButt_Cap == stroke.getCap()) {
1777 // stroke widths along X/Y.
1821 // Give the tessellation path renderer a chance to claim this stroke before we simplify it.
1829 // The shape isn't a stroke that can be drawn directly. Simplify if possible.