Lines Matching defs:dash
137 // Having a dash path effect can allow 'a' but not 'b' to turn a inverse fill type into a
214 // Moreover, dash style explicitly ignores inverseness. So if one is dashed but not the other
911 // Scale affects the dash and the stroke.
1006 // Make sure just applying the dash but not stroke gives the same key for both stroking
1056 // after applying the dash.
1105 // A dash with no stroke should have no effect
1122 SkPaint dash;
1123 dash.setStyle(SkPaint::kStroke_Style);
1124 dash.setStrokeWidth(1.f);
1125 dash.setPathEffect(make_dash());
1133 TestCase dashCase(geo, dash, reporter);
1136 // We expect the null dash to be ignored so nullDashCase should match strokeCase, always.
1145 // In the null dash case we may immediately convert to a fill, but not for the normal dash case.
1276 // effect key for dash path effects. So the only way another arbitrary path effect can produce
1586 // is no path to dash along, making it equivalent as well.
1673 bool dash) -> int {
1678 dash;
1687 for (bool dash : {false, true}) {
1688 sk_sp<SkPathEffect> pe = dash ? dashEffect : nullptr;
1689 shapes[index(inverted, dir, start, style, dash)] =
1818 for (bool dash : {false, true}) {
1820 dash)];
1825 kStrokeAndFill, dash)];
1842 dash)];
1844 kHairline, dash)];
1850 if (dash) {
1871 // The pre-style case for the dash will match the non-dash example iff the
1913 SkPaint dash = stroke;
1914 dash.setPathEffect(make_dash());
1936 TestCase dashAB(r, lineAB, dash);
1937 TestCase dashBA(r, lineBA, dash);
1938 TestCase dashAC(r, lineAC, dash);
1986 TestCase dashInvAB(r, invLineAB, dash);
2293 auto dash = SkDashPathEffect::Make(kIntervals, SK_ARRAY_COUNT(kIntervals), 1.5f);
2301 styles.push_back(GrStyle(roundStroke, dash));