Lines Matching refs:SkRegion
12 static bool union_proc(SkRegion& a, SkRegion& b) { in union_proc()
13 SkRegion result; in union_proc()
14 return result.op(a, b, SkRegion::kUnion_Op); in union_proc()
17 static bool sect_proc(SkRegion& a, SkRegion& b) { in sect_proc()
18 SkRegion result; in sect_proc()
19 return result.op(a, b, SkRegion::kIntersect_Op); in sect_proc()
22 static bool diff_proc(SkRegion& a, SkRegion& b) { in diff_proc()
23 SkRegion result; in diff_proc()
24 return result.op(a, b, SkRegion::kDifference_Op); in diff_proc()
27 static bool diffrect_proc(SkRegion& a, SkRegion& b) { in diffrect_proc()
28 SkRegion result; in diffrect_proc()
29 return result.op(a, b.getBounds(), SkRegion::kDifference_Op); in diffrect_proc()
32 static bool diffrectbig_proc(SkRegion& a, SkRegion& b) { in diffrectbig_proc()
33 SkRegion result; in diffrectbig_proc()
34 return result.op(a, a.getBounds(), SkRegion::kDifference_Op); in diffrectbig_proc()
37 static bool containsrect_proc(SkRegion& a, SkRegion& b) { in containsrect_proc()
47 static bool sectsrgn_proc(SkRegion& a, SkRegion& b) { in sectsrgn_proc()
51 static bool sectsrect_proc(SkRegion& a, SkRegion& b) { in sectsrect_proc()
57 static bool containsxy_proc(SkRegion& a, SkRegion& b) { in containsxy_proc()
71 typedef bool (*Proc)(SkRegion& a, SkRegion& b);
73 SkRegion fA, fB;
96 fA.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench()
97 fB.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench()