Home | History | Annotate | Download | only in tests

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);
1348 * This path effect returns an empty path (possibly inverted)
1547 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1596 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1636 auto index = [](bool inverted,
1641 return inverted * (2 * 8 * kStyleCnt * 2) +
1650 for (bool inverted : {false, true}) {
1656 shapes[index(inverted, dir, start, style, dash)] =
1657 GrShape(rrect, dir, start, SkToBool(inverted),
1781 for (bool inverted : {false, true}) {
1785 const GrShape& fillCase = shapes[index(inverted, dir, start, kFill, dash)];
1789 const GrShape& strokeAndFillCase = shapes[index(inverted, dir, start,
1799 TestCase b(inverted ? exampleInvFillCase : exampleFillCase, r);
1801 TestCase d(inverted ? exampleInvStrokeAndFillCase
1806 const GrShape& strokeCase = shapes[index(inverted, dir, start, kStroke, dash)];
1807 const GrShape& hairlineCase = shapes[index(inverted, dir, start, kHairline,
1845 TestCase f(inverted ? exampleInvStrokeCase : exampleStrokeCase, r);
1846 TestCase h(inverted ? exampleInvHairlineCase : exampleHairlineCase, r);
1930 bool inverted = true;
1932 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted);
1945 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted &&
1947 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted &&
1949 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted &&
1951 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted &&
1963 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1965 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1968 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted &&