Lines Matching refs:SkRegion
13 static bool union_proc(SkRegion& a, SkRegion& b) { in union_proc()
14 SkRegion result; in union_proc()
15 return result.op(a, b, SkRegion::kUnion_Op); in union_proc()
18 static bool sect_proc(SkRegion& a, SkRegion& b) { in sect_proc()
19 SkRegion result; in sect_proc()
20 return result.op(a, b, SkRegion::kIntersect_Op); in sect_proc()
23 static bool diff_proc(SkRegion& a, SkRegion& b) { in diff_proc()
24 SkRegion result; in diff_proc()
25 return result.op(a, b, SkRegion::kDifference_Op); in diff_proc()
28 static bool diffrect_proc(SkRegion& a, SkRegion& b) { in diffrect_proc()
29 SkRegion result; in diffrect_proc()
30 return result.op(a, b.getBounds(), SkRegion::kDifference_Op); in diffrect_proc()
33 static bool diffrectbig_proc(SkRegion& a, SkRegion& b) { in diffrectbig_proc()
34 SkRegion result; in diffrectbig_proc()
35 return result.op(a, a.getBounds(), SkRegion::kDifference_Op); in diffrectbig_proc()
38 static bool containsrect_proc(SkRegion& a, SkRegion& b) { in containsrect_proc()
48 static bool sectsrgn_proc(SkRegion& a, SkRegion& b) { in sectsrgn_proc()
52 static bool sectsrect_proc(SkRegion& a, SkRegion& b) { in sectsrect_proc()
58 static bool containsxy_proc(SkRegion& a, SkRegion& b) { in containsxy_proc()
72 typedef bool (*Proc)(SkRegion& a, SkRegion& b);
74 SkRegion fA, fB;
97 fA.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench()
98 fB.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench()