Home | History | Annotate | Download | only in samplecode

Lines Matching refs:op

58     rc->op(*ra, *rb, SkRegion::kUnion_Op);
76 tmp.op(r, SkRegion::kUnion_Op);
106 void build_rgn(SkRegion* rgn, SkRegion::Op op) {
110 rgn->op(r, SkRegion::kUnion_Op);
111 rgn->op(fRect, op);
139 void drawRgnOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) {
142 this->build_rgn(&rgn, op);
181 void drawPathOped(SkCanvas* canvas, SkRegion::Op op, SkColor color) {
185 this->build_rgn(&rgn, op);
225 SkRegion::Op fOp;
245 for (size_t op = 0; op < SK_ARRAY_COUNT(gOps); op++) {
246 canvas->drawText(gOps[op].fName, strlen(gOps[op].fName), SkIntToScalar(75), SkIntToScalar(50), textPaint);
248 this->drawRgnOped(canvas, gOps[op].fOp, gOps[op].fColor);
252 this->drawPathOped(canvas, gOps[op].fOp, gOps[op].fColor);