• Home
  • Raw
  • Download

Lines Matching refs:inverted

290     GrStyledShape inverted = GrStyledShape::MakeFilled(  in test_inversions()  local
293 make_key(&invertedKey, inverted); in test_inversions()
307 check_equivalence(r, preserve, inverted, preserveKey, invertedKey); in test_inversions()
311 check_equivalence(r, flip, inverted, flipKey, invertedKey); in test_inversions()
1669 auto index = [](bool inverted, in test_rrect()
1674 return inverted * (2 * 8 * kStyleCnt * 2) + in test_rrect()
1683 for (bool inverted : {false, true}) { in test_rrect() argument
1689 shapes[index(inverted, dir, start, style, dash)] = in test_rrect()
1690 GrStyledShape(rrect, dir, start, SkToBool(inverted), in test_rrect()
1815 for (bool inverted : {false, true}) { in test_rrect()
1819 const GrStyledShape& fillCase = shapes[index(inverted, dir, start, kFill, in test_rrect()
1824 const GrStyledShape& strokeAndFillCase = shapes[index(inverted, dir, start, in test_rrect()
1834 TestCase b(inverted ? exampleInvFillCase : exampleFillCase, r); in test_rrect()
1836 TestCase d(inverted ? exampleInvStrokeAndFillCase in test_rrect()
1841 const GrStyledShape& strokeCase = shapes[index(inverted, dir, start, kStroke, in test_rrect()
1843 const GrStyledShape& hairlineCase = shapes[index(inverted, dir, start, in test_rrect()
1881 TestCase f(inverted ? exampleInvStrokeCase : exampleStrokeCase, r); in test_rrect()
1882 TestCase h(inverted ? exampleInvHairlineCase : exampleHairlineCase, r); in test_rrect()
1958 bool inverted = true; in DEF_TEST() local
1960 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted); in DEF_TEST()
1974 REPORTER_ASSERT(r, strokeAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1976 REPORTER_ASSERT(r, hairlineAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1978 REPORTER_ASSERT(r, dashAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1980 REPORTER_ASSERT(r, dashBA.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
1992 REPORTER_ASSERT(r, strokeInvAB.baseShape().asLine(pts, &inverted) && inverted && in DEF_TEST()
1994 REPORTER_ASSERT(r, hairlineInvAB.baseShape().asLine(pts, &inverted) && inverted && in DEF_TEST()
1997 REPORTER_ASSERT(r, dashInvAB.baseShape().asLine(pts, &inverted) && !inverted && in DEF_TEST()
2371 REPORTER_ASSERT(r, inverseRRect.inverted() && inverseRRect.isPath()); in DEF_TEST()
2372 REPORTER_ASSERT(r, !rrect.inverted() && rrect.isPath()); in DEF_TEST()
2378 REPORTER_ASSERT(r, inverseRRect.inverted() && inverseRRect.isRRect()); in DEF_TEST()
2379 REPORTER_ASSERT(r, !rrect.inverted() && rrect.isRRect()); in DEF_TEST()
2383 REPORTER_ASSERT(r, !inverseRRect.inverted() && inverseRRect.isEmpty()); in DEF_TEST()
2386 REPORTER_ASSERT(r, !inverseRRect.inverted() && inverseRRect.isEmpty()); in DEF_TEST()