Lines Matching refs:SkRegion
58 static void copyToMask(const SkRegion& rgn, SkMask* mask) { in copyToMask()
83 SkRegion tmpRgn(rgn); in copyToMask()
99 static void make_rand_rgn(SkRegion* rgn, SkRandom& rand) { in make_rand_rgn()
102 rgn->op(rand_rect(rand, 100), SkRegion::kXOR_Op); in make_rand_rgn()
106 static bool operator==(const SkRegion& rgn, const SkAAClip& aaclip) { in operator ==()
118 static bool equalsAAClip(const SkRegion& rgn) { in equalsAAClip()
124 static void setRgnToPath(SkRegion* rgn, const SkPath& path) { in setRgnToPath()
127 rgn->setPath(path, SkRegion(ir)); in setRgnToPath()
134 SkRegion rgn; in test_rgn()
140 SkRegion rgn; in test_rgn()
156 static const SkRegion::Op gRgnOps[] = {
157 SkRegion::kDifference_Op,
158 SkRegion::kIntersect_Op,
159 SkRegion::kUnion_Op,
160 SkRegion::kXOR_Op,
161 SkRegion::kReverseDifference_Op,
162 SkRegion::kReplace_Op
249 SkRegion rgn0, rgn1; in test_irect()
259 SkRegion::Op op = gRgnOps[j]; in test_irect()
261 SkRegion rgn2; in test_irect()
337 clip.op(ir, SkRegion::kIntersect_Op); in test_really_a_rect()
384 rc0.op(r, baseSize, SkRegion::kIntersect_Op, false); in did_dx_affect()
386 rc1.op(r, baseSize, SkRegion::kIntersect_Op, true); in did_dx_affect()
388 rc2.op(r, baseSize, SkRegion::kIntersect_Op, true); in did_dx_affect()
434 rc.op(path, rc.getBounds().size(), SkRegion::kIntersect_Op, true); in test_crbug_422693()