• Home
  • Raw
  • Download

Lines Matching refs:inverted

287     GrShape inverted = GrShape::MakeFilled(shape, GrShape::FillInversion::kForceInverted);  in test_inversions()  local
289 make_key(&invertedKey, inverted); in test_inversions()
302 check_equivalence(r, preserve, inverted, preserveKey, invertedKey); in test_inversions()
306 check_equivalence(r, flip, inverted, flipKey, invertedKey); in test_inversions()
1648 auto index = [](bool inverted, in test_rrect()
1653 return inverted * (2 * 8 * kStyleCnt * 2) + in test_rrect()
1662 for (bool inverted : {false, true}) { in test_rrect() argument
1668 shapes[index(inverted, dir, start, style, dash)] = in test_rrect()
1669 GrShape(rrect, dir, start, SkToBool(inverted), in test_rrect()
1793 for (bool inverted : {false, true}) { in test_rrect()
1797 const GrShape& fillCase = shapes[index(inverted, dir, start, kFill, dash)]; in test_rrect()
1801 const GrShape& strokeAndFillCase = shapes[index(inverted, dir, start, in test_rrect()
1811 TestCase b(inverted ? exampleInvFillCase : exampleFillCase, r); in test_rrect()
1813 TestCase d(inverted ? exampleInvStrokeAndFillCase in test_rrect()
1818 const GrShape& strokeCase = shapes[index(inverted, dir, start, kStroke, dash)]; in test_rrect()
1819 const GrShape& hairlineCase = shapes[index(inverted, dir, start, kHairline, in test_rrect()
1857 TestCase f(inverted ? exampleInvStrokeCase : exampleStrokeCase, r); in test_rrect()
1858 TestCase h(inverted ? exampleInvHairlineCase : exampleHairlineCase, r); in test_rrect()
1942 bool inverted = true; in DEF_TEST() local
1944 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted); in DEF_TEST()
1958 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1960 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1962 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1964 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1976 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted && in DEF_TEST()
1978 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted && in DEF_TEST()
1981 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()