Lines Matching refs:kCW_Direction
770 REPORTER_ASSERT(reporter, !path.cheapIsDirection(SkPath::kCW_Direction));
802 check_direction(reporter, path, SkPath::kCW_Direction);
824 path.addCircle(0, 0, SkIntToScalar(2), SkPath::kCW_Direction);
826 check_direction(reporter, path, SkPath::kCW_Direction);
829 path.addCircle(0, 0, SkIntToScalar(1), SkPath::kCW_Direction);
846 check_direction(reporter, path, SkPath::kCW_Direction);
1040 check_direction(reporter, triLeft, SkPath::kCW_Direction);
1057 check_direction(reporter, square, SkPath::kCW_Direction);
1074 check_direction(reporter, redundantSquare, SkPath::kCW_Direction);
1113 check_direction(reporter, dent, SkPath::kCW_Direction);
1165 path.addRect(0, 0, SkIntToScalar(10), SkIntToScalar(10), SkPath::kCW_Direction);
1167 REPORTER_ASSERT(reporter, path.cheapIsDirection(SkPath::kCW_Direction));
1178 { "0 0 10 10 10 20", SkPath::kConvex_Convexity, SkPath::kCW_Direction },
1181 { "0 0 10 0 0 10 -10 -10", SkPath::kConcave_Convexity, SkPath::kCW_Direction },
1354 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction;
1671 { r1, SK_ARRAY_COUNT(r1), SkPath::kCW_Direction , true, true },
1672 { r2, SK_ARRAY_COUNT(r2), SkPath::kCW_Direction , true, true },
1673 { r3, SK_ARRAY_COUNT(r3), SkPath::kCW_Direction , true, true },
1674 { r4, SK_ARRAY_COUNT(r4), SkPath::kCW_Direction , true, true },
1681 { rb, SK_ARRAY_COUNT(rb), SkPath::kCW_Direction, true, true },
1682 { rc, SK_ARRAY_COUNT(rc), SkPath::kCW_Direction, true, true },
1684 { re, SK_ARRAY_COUNT(re), SkPath::kCW_Direction, true, true },
1705 path.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1726 expectedDirs[0] = SkPath::kCW_Direction;
1742 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1758 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1776 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1791 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1809 path1.addRect(-1, -1, 2, 2, SkPath::kCW_Direction);
1826 path1.addRect(1, 1, 3, 3, SkPath::kCW_Direction);
1827 path1.addRect(2, 2, 4, 4, SkPath::kCW_Direction);
1833 src.addRect(1, 1, 7, 7, SkPath::kCW_Direction);
1985 p.addCircle(0, 0, 1, SkPath::kCW_Direction);
1994 REPORTER_ASSERT(reporter, p1.cheapIsDirection(SkPath::kCW_Direction));
2543 dir = SkPath::kCW_Direction;
2545 REPORTER_ASSERT(reporter, SkPath::kCW_Direction == dir);
2600 if (SkPath::kCW_Direction == dir) {
2604 dir = SkPath::kCW_Direction;
2619 if (SkPath::kCW_Direction == dir) {
2623 dir = SkPath::kCW_Direction;
2672 static const SkPath::Direction kCircleDir = SkPath::kCW_Direction;
2677 SkIntToScalar(20), SkIntToScalar(20), SkPath::kCW_Direction);
2702 test_circle_with_direction(reporter, SkPath::kCW_Direction);
2707 path.addCircle(0, 0, SkIntToScalar(10), SkPath::kCW_Direction);
2708 path.addCircle(0, 0, SkIntToScalar(20), SkPath::kCW_Direction);
2709 check_for_circle(reporter, path, false, SkPath::kCW_Direction);
2713 path.addCircle(0, 0, SkIntToScalar(10), SkPath::kCW_Direction);
2715 check_for_circle(reporter, path, false, SkPath::kCW_Direction);
2719 path.addCircle(0, 0, SkIntToScalar(10), SkPath::kCW_Direction);
2721 check_for_circle(reporter, path, false, SkPath::kCW_Direction);
2727 path.addCircle(0, 0, -1, SkPath::kCW_Direction);
2816 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2820 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2824 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2832 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2839 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2847 REPORTER_ASSERT(reporter, SkPath::kCW_Direction == dir);
2848 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2849 p.addRRect(rr, SkPath::kCW_Direction);
2850 p.addRRect(rr, SkPath::kCW_Direction);
2864 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2868 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2871 test_rrect_is_convex(reporter, &p, SkPath::kCW_Direction);
2897 REPORTER_ASSERT(reporter, p.cheapIsDirection(SkPath::kCW_Direction));