Lines Matching full:inverted
286 GrShape inverted = GrShape::MakeFilled(shape, GrShape::FillInversion::kForceInverted);
288 make_key(&invertedKey, inverted);
301 check_equivalence(r, preserve, inverted, preserveKey, invertedKey);
305 check_equivalence(r, flip, inverted, flipKey, invertedKey);
1320 * This path effect returns an empty path (possibly inverted)
1519 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1568 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1608 auto index = [](bool inverted,
1613 return inverted * (2 * 8 * kStyleCnt * 2) +
1622 for (bool inverted : {false, true}) {
1628 shapes[index(inverted, dir, start, style, dash)] =
1629 GrShape(rrect, dir, start, SkToBool(inverted),
1753 for (bool inverted : {false, true}) {
1757 const GrShape& fillCase = shapes[index(inverted, dir, start, kFill, dash)];
1761 const GrShape& strokeAndFillCase = shapes[index(inverted, dir, start,
1771 TestCase b(inverted ? exampleInvFillCase : exampleFillCase, r);
1773 TestCase d(inverted ? exampleInvStrokeAndFillCase
1778 const GrShape& strokeCase = shapes[index(inverted, dir, start, kStroke, dash)];
1779 const GrShape& hairlineCase = shapes[index(inverted, dir, start, kHairline,
1817 TestCase f(inverted ? exampleInvStrokeCase : exampleStrokeCase, r);
1818 TestCase h(inverted ? exampleInvHairlineCase : exampleHairlineCase, r);
1902 bool inverted = true;
1904 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted);
1917 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted &&
1919 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted &&
1921 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted &&
1923 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted &&
1935 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1937 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1940 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted &&