Lines Matching refs:dir
15 SkPath::Direction* dir, unsigned* start) { in path_contains_rrect() argument
17 REPORTER_ASSERT(reporter, SkPathPriv::IsRRect(path, &out, dir, start)); in path_contains_rrect()
19 recreatedPath.addRRect(out, *dir, *start); in path_contains_rrect()
44 SkPath::Direction dir, unsigned start) { in inner_path_contains_rrect() argument
54 path.addRRect(in, dir, start); in inner_path_contains_rrect()
58 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in inner_path_contains_rrect()
63 SkPath::Direction dir, unsigned start) { in path_contains_rrect_check() argument
64 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_check()
72 SkPath::Direction dir, unsigned start) { in path_contains_rrect_nocheck() argument
73 SkRRect out = inner_path_contains_rrect(reporter, in, dir, start); in path_contains_rrect_nocheck()
80 SkVector v[4], SkPath::Direction dir, unsigned start) { in path_contains_rrect_check() argument
83 path_contains_rrect_check(reporter, rrect, dir, start); in path_contains_rrect_check()
88 ForceIsRRect_Private(SkPath* path, SkPath::Direction dir, unsigned start) { in ForceIsRRect_Private() argument
89 path->fPathRef->setIsRRect(true, dir == SkPath::kCCW_Direction, start); in ForceIsRRect_Private()
94 SkPath::Direction dir, unsigned start) { in force_path_contains_rrect() argument
95 ForceIsRRect_Private force_rrect(&path, dir, start); in force_path_contains_rrect()
99 REPORTER_ASSERT(reporter, outDir == dir && outStart == start); in force_path_contains_rrect()
173 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_tricky_radii()
182 path_contains_rrect_check(reporter, rr, dir, start); in test_tricky_radii()
193 path_contains_rrect_nocheck(reporter, rr, dir, start); in test_tricky_radii()
200 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_empty_crbug_458524()
206 path_contains_rrect_check(reporter, rr, dir, start); in test_empty_crbug_458524()
212 path_contains_rrect_check(reporter, rr, dir, start); in test_empty_crbug_458524()
218 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_inset()
225 path_contains_rrect_check(reporter, rr, dir, start); in test_inset()
228 path_contains_rrect_check(reporter, rr, dir, start); in test_inset()
231 path_contains_rrect_check(reporter, rr, dir, start); in test_inset()
235 path_contains_rrect_check(reporter, rr, dir, start); in test_inset()
237 path_contains_rrect_check(reporter, rr, dir, start); in test_inset()
247 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_9patch_rrect()
252 path_contains_rrect_check(reporter, rr, dir, start); in test_9patch_rrect()
254 path_contains_rrect_nocheck(reporter, rr, dir, start); in test_9patch_rrect()
261 path_contains_rrect_check(reporter, rr, dir, start); in test_9patch_rrect()
263 path_contains_rrect_nocheck(reporter, rr, dir, start); in test_9patch_rrect()
271 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_basic()
278 path_contains_rrect_check(reporter, rr1, dir, start); in test_round_rect_basic()
283 path_contains_rrect_check(reporter, rr1_2, dir, start); in test_round_rect_basic()
286 path_contains_rrect_check(reporter, rr1_2, dir, start); in test_round_rect_basic()
292 path_contains_rrect_check(reporter, rr2, dir, start); in test_round_rect_basic()
300 path_contains_rrect_check(reporter, rr2_2, dir, start); in test_round_rect_basic()
303 path_contains_rrect_check(reporter, rr2_3, dir, start); in test_round_rect_basic()
309 path_contains_rrect_check(reporter, rr3, dir, start); in test_round_rect_basic()
314 path_contains_rrect_check(reporter, rr3_2, dir, start); in test_round_rect_basic()
317 path_contains_rrect_check(reporter, rr3_3, dir, start); in test_round_rect_basic()
338 path_contains_rrect_check(reporter, rr5, dir, start); in test_round_rect_basic()
345 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_rects()
352 path_contains_rrect_check(reporter, rr1, dir, start); in test_round_rect_rects()
360 path_contains_rrect_check(reporter, rr2, dir, start); in test_round_rect_rects()
367 path_contains_rrect_check(reporter, rr3, dir, start); in test_round_rect_rects()
374 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_ovals()
381 path_contains_rrect_check(reporter, rr1, dir, start); in test_round_rect_ovals()
388 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_general()
395 path_contains_rrect_check(reporter, rr1, dir, start); in test_round_rect_general()
403 path_contains_rrect_check(reporter, rr2, dir, start); in test_round_rect_general()
409 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_round_rect_iffy_parameters()
415 path_contains_rrect_nocheck(reporter, rr1, dir, start); in test_round_rect_iffy_parameters()
435 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_skbug_3239()
440 path_contains_rrect_check(reporter, rectx, radii, dir, start); in test_skbug_3239()
441 path_contains_rrect_check(reporter, recty, radii, dir, start); in test_skbug_3239()
448 for (auto dir : {SkPath::kCW_Direction, SkPath::kCCW_Direction}) { in test_mix()
455 path_contains_rrect_check(reporter, rr, dir, start); in test_mix()