Lines Matching defs:oval

2661     // test persistence of the oval flag & convexity
2663 SkPath oval;
2665 oval.addOval(rect);
2667 write_and_read_back(reporter, oval);
3357 // degrees is not an oval anymore, this can be improved. we made this
3540 // an oval rotated 90 degrees is still an oval. The start index changes from 1 to 2. Direction
3550 // an oval rotated 30 degrees is not an oval anymore.
3560 // empty path is not an oval
3694 SkRect oval = {10, 20, 30, 40};
3695 p.addArc(oval, 1, 0);
3699 cwOval.addOval(oval);
3700 p.addArc(oval, 0, 360);
3704 ccwOval.addOval(oval, SkPathDirection::kCCW);
3705 p.addArc(oval, 0, -360);
3708 p.addArc(oval, 1, 180);
3758 SkRect oval = SkRect::MakeWH(10, 20);
3762 path.addArc(oval, start, sweep);
3771 // Test start angles that are nearly at valid oval start angles.
3775 path.addArc(oval, start + delta, sweep);
3915 SkRect oval = {1, 2, 3, 4};
3916 p.arcTo(oval, 0, 0, true);
3917 check_path_is_move_and_reset(reporter, &p, oval.fRight, oval.centerY());
3918 p.arcTo(oval, 0, 0, false);
3919 check_path_is_move_and_reset(reporter, &p, oval.fRight, oval.centerY());
3920 p.arcTo(oval, 360, 0, true);
3921 check_path_is_move_and_reset(reporter, &p, oval.fRight, oval.centerY());
3922 p.arcTo(oval, 360, 0, false);
3923 check_path_is_move_and_reset(reporter, &p, oval.fRight, oval.centerY());
3926 p.arcTo(oval, 0, sweep, false);
3927 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval));
3932 p.arcTo(oval, 0, sweep, false);
3933 REPORTER_ASSERT(reporter, nearly_equal(p.getBounds(), oval));
5526 * Axis-aligned shapes (rect, oval, rrect) should survive, including convexity if the matrix
5614 // make a trapazoid; definitely convex, but not marked as axis-aligned (e.g. oval, rrect)