Home | History | Annotate | Download | only in tests

Lines Matching defs:direction

1050 // Set this for paths that don't have a consistent direction such as a bowtie.
1124 // Test two donuts, each wound a different direction. Only the outer contour
1125 // determines the cheap direction
1564 // check after setting the initial convex and direction
1812 SkPath::Direction dir = d ? SkPath::kCCW_Direction : SkPath::kCW_Direction;
2056 SkPath::Direction direction;
2060 REPORTER_ASSERT(reporter, path.isRect(&computed, &isClosed, &direction));
2063 REPORTER_ASSERT(reporter, SkPathPriv::AsFirstDirection(direction) == cheapDirection);
2068 SkPath::Direction direction = (SkPath::Direction) - 1;
2069 REPORTER_ASSERT(reporter, !path.isRect(&computed, &isClosed, &direction));
2073 REPORTER_ASSERT(reporter, direction == (SkPath::Direction) -1);
2134 const SkRect& rect, SkPath::Direction dir, unsigned start) {
2136 SkPath::Direction d = SkPath::kCCW_Direction;
2147 SkPath::Direction d = SkPath::kCCW_Direction;
2211 SkPath::Direction swapDir = (dir == SkPath::kCW_Direction)
2235 SkPath::Direction dir;
2355 SkPath::Direction computedDirs[2];
2508 SkPath::Direction dir0, dir1;
2616 // We should ignore the stored direction and recompute from the deserialized data.
3292 SkPath::Direction isOvalDir;
3312 // this matrix reverses the direction.
3412 SkPath::Direction inDir) {
3459 const SkPath::Direction kCircleDir = SkPath::kCW_Direction;
3460 const SkPath::Direction kCircleDirOpposite = SkPath::kCCW_Direction;
3524 SkPath::Direction dir = SkPath::kCCW_Direction;
3535 // an oval rotated 90 degrees is still an oval. The start index changes from 1 to 2. Direction
3597 SkPath::Direction dir) {
3606 SkPath::Direction dir) {
3649 SkPath::Direction dir;
3740 SkPath::Direction d = SkPath::kCCW_Direction;