• Home
  • Raw
  • Download

Lines Matching refs:SkRegion

124 static void make_rgn(SkRegion* rgn, int left, int top, int right, int bottom,  in make_rgn()
133 static void test_union_bug_1505668(SkRegion* ra, SkRegion* rb, SkRegion* rc) { in test_union_bug_1505668()
159 rc->op(*ra, *rb, SkRegion::kUnion_Op); in test_union_bug_1505668()
170 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) { in scale_rgn()
171 SkRegion tmp; in scale_rgn()
172 SkRegion::Iterator iter(src); in scale_rgn()
177 tmp.op(r, SkRegion::kUnion_Op); in scale_rgn()
182 static void paint_rgn(SkCanvas* canvas, const SkRegion& rgn, in paint_rgn()
184 SkRegion scaled; in paint_rgn()
187 SkRegion::Iterator iter(rgn); in paint_rgn()
207 void build_base_rgn(SkRegion* rgn) { in build_base_rgn()
211 rgn->op(r, SkRegion::kUnion_Op); in build_base_rgn()
214 void build_rgn(SkRegion* rgn, SkRegion::Op op) { in build_rgn()
240 SkRegion rgn; in drawPredicates()
255 SkRegion rgn; in drawOrig()
263 void drawRgnOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { in drawRgnOped()
264 SkRegion rgn; in drawRgnOped()
269 SkRegion tmp, tmp2(rgn); in drawRgnOped()
281 SkRegion tmp3; in drawRgnOped()
305 void drawPathOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { in drawPathOped()
306 SkRegion rgn; in drawPathOped()
335 SkRegion a, b, c; in onDrawContent()
362 SkRegion::Op fOp; in onDrawContent()
364 { SK_ColorBLACK, "Difference", SkRegion::kDifference_Op }, in onDrawContent()
365 { SK_ColorRED, "Intersect", SkRegion::kIntersect_Op }, in onDrawContent()
366 { 0xFF008800, "Union", SkRegion::kUnion_Op }, in onDrawContent()
367 { SK_ColorBLUE, "XOR", SkRegion::kXOR_Op } in onDrawContent()
377 this->drawRgnOped(canvas, SkRegion::kUnion_Op, SK_ColorBLACK); in onDrawContent()