Lines Matching refs:stroke
462 // The fill is ignored (zero area) and the stroke is converted to a rrect.
607 // Applying the path effect and then the stroke should always be the same as applying
615 // base -> apply path effect -> rrect_as_path -> stroke -> stroked_rrect_as_path
618 // canonicalized before the stroke.
894 SkPaint stroke;
895 stroke.setStyle(SkPaint::kStroke_Style);
896 stroke.setStrokeWidth(2.f);
897 TestCase strokeCase1(geo, stroke, reporter, kS1);
898 TestCase strokeCase2(geo, stroke, reporter, kS2);
899 // Scale affects the stroke
907 SkPaint strokeDash = stroke;
911 // Scale affects the dash and the stroke.
916 SkPaint strokeAndFill = stroke;
922 // Dash is ignored for stroke and fill
925 // Scale affects the stroke, but check to make sure this didn't become a simpler shape (e.g.
926 // stroke-and-filled rect can become a rect), in which case the scale shouldn't matter and the
949 // Set the stroke width so that we don't get hairline. However, call the setter afterward so
950 // that it can override the stroke width.
1006 // Make sure just applying the dash but not stroke gives the same key for both stroking
1105 // A dash with no stroke should have no effect
1119 SkPaint stroke;
1120 stroke.setStyle(SkPaint::kStroke_Style);
1121 stroke.setStrokeWidth(1.f);
1132 TestCase strokeCase(geo, stroke, reporter);
1139 // on construction in order to determine how to compare the fill and stroke.
1155 * This path effect takes any input path and turns it into a rrect. It passes through stroke
1215 SkPaint stroke = peStroke;
1216 stroke.setPathEffect(nullptr);
1217 TestCase rrectStrokeCase(reporter, RRectPathEffect::RRect(), stroke);
1232 // In the PE+stroke case applying the full style should be the same as just stroking the rrect.
1292 * This path effect just changes the stroke rec to hairline.
1493 SkPaint stroke;
1494 stroke.setStrokeWidth(2.f);
1495 stroke.setStyle(SkPaint::kStroke_Style);
1496 TestCase strokeCase(geo, stroke, reporter);
1498 SkPaint peStroke = stroke;
1560 SkPaint stroke;
1561 stroke.setStrokeWidth(2.f);
1562 stroke.setStyle(SkPaint::kStroke_Style);
1563 stroke.setStrokeJoin(SkPaint::kRound_Join);
1564 stroke.setStrokeCap(SkPaint::kRound_Cap);
1565 TestCase strokeEmptyCase(reporter, emptyPath, stroke);
1567 TestCase strokeInvertedEmptyCase(reporter, invertedEmptyPath, stroke);
1593 TestCase strokeEmptyRRectCase(reporter, emptyRRect, stroke);
1609 GrStyle(stroke));
1662 // Use a bevel join to avoid complications of stroke+filled rects becoming filled rects before
1829 // Both fill and stroke-and-fill shapes must respect the inverseness and both
1849 // Both hairline and stroke shapes must respect the dashing.
1907 SkPaint stroke;
1908 stroke.setStyle(SkPaint::kStroke_Style);
1909 stroke.setStrokeWidth(2.f);
1913 SkPaint dash = stroke;
1928 TestCase strokeAB(r, lineAB, stroke);
1929 TestCase strokeBA(r, lineBA, stroke);
1930 TestCase strokeAC(r, lineAC, stroke);
1984 TestCase strokeInvAB(r, invLineAB, stroke);
2232 // Test modifying various stroke params.