Lines Matching refs:inverted
290 GrStyledShape inverted = GrStyledShape::MakeFilled(
293 make_key(&invertedKey, inverted);
307 check_equivalence(r, preserve, inverted, preserveKey, invertedKey);
311 check_equivalence(r, flip, inverted, flipKey, invertedKey);
1377 * This path effect returns an empty path (possibly inverted)
1580 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1629 // Dashing ignores inverseness so this is equivalent to the non-inverted empty fill.
1669 auto index = [](bool inverted,
1674 return inverted * (2 * 8 * kStyleCnt * 2) +
1683 for (bool inverted : {false, true}) {
1689 shapes[index(inverted, dir, start, style, dash)] =
1690 GrStyledShape(rrect, dir, start, SkToBool(inverted),
1815 for (bool inverted : {false, true}) {
1819 const GrStyledShape& fillCase = shapes[index(inverted, dir, start, kFill,
1824 const GrStyledShape& strokeAndFillCase = shapes[index(inverted, dir, start,
1834 TestCase b(inverted ? exampleInvFillCase : exampleFillCase, r);
1836 TestCase d(inverted ? exampleInvStrokeAndFillCase
1841 const GrStyledShape& strokeCase = shapes[index(inverted, dir, start, kStroke,
1843 const GrStyledShape& hairlineCase = shapes[index(inverted, dir, start,
1881 TestCase f(inverted ? exampleInvStrokeCase : exampleStrokeCase, r);
1882 TestCase h(inverted ? exampleInvHairlineCase : exampleHairlineCase, r);
1958 bool inverted = true;
1960 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted);
1974 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted &&
1976 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted &&
1978 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted &&
1980 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted &&
1992 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1994 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted &&
1997 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted &&
2371 REPORTER_ASSERT(r, inverseRRect.inverted() && inverseRRect.isPath());
2372 REPORTER_ASSERT(r, !rrect.inverted() && rrect.isPath());
2378 REPORTER_ASSERT(r, inverseRRect.inverted() && inverseRRect.isRRect());
2379 REPORTER_ASSERT(r, !rrect.inverted() && rrect.isRRect());
2383 REPORTER_ASSERT(r, !inverseRRect.inverted() && inverseRRect.isEmpty());
2386 REPORTER_ASSERT(r, !inverseRRect.inverted() && inverseRRect.isEmpty());