Lines Matching refs:SkRegion
70 void buildRgn(SkAAClip* clip, SkRegion::Op op) { in buildRgn()
88 void drawRgnOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { in drawRgnOped()
100 void drawPathsOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) { in drawPathsOped()
109 canvas->clipPath(fBasePath, SkRegion::kReplace_Op, true); in drawPathsOped()
113 canvas->clipRect(fBase, SkRegion::kReplace_Op, true); in drawPathsOped()
147 SkRegion::Op fOp; in onDraw()
149 { SK_ColorBLACK, "Difference", SkRegion::kDifference_Op }, in onDraw()
150 { SK_ColorRED, "Intersect", SkRegion::kIntersect_Op }, in onDraw()
151 { 0xFF008800, "Union", SkRegion::kUnion_Op }, in onDraw()
152 { SK_ColorGREEN, "Rev Diff", SkRegion::kReverseDifference_Op }, in onDraw()
153 { SK_ColorYELLOW, "Replace", SkRegion::kReplace_Op }, in onDraw()
154 { SK_ColorBLUE, "XOR", SkRegion::kXOR_Op }, in onDraw()