Home | History | Annotate | Download | only in samplecode

Lines Matching refs:paints

68         SkPaint paints[] = { bluePaint, bmpPaint };
75 for (size_t p = 0; p < SK_ARRAY_COUNT(paints); ++p) {
77 paints[p].setStyle(stroke ? SkPaint::kStroke_Style : SkPaint::kFill_Style);
79 paints[p].setAntiAlias(a > 0);
80 paints[p].setAlpha(a > 1 ? 0x80 : 0xff);
87 canvas->drawRect(rect, paints[p]);
94 canvas->drawRect(rect, paints[p]);
101 canvas->drawRect(rect, paints[p]);
108 canvas->drawRect(rect, paints[p]);
117 canvas->drawRect(rect, paints[p]);
130 canvas->drawRect(rect, paints[p]);
140 canvas->drawRect(rect, paints[p]);
150 canvas->drawRect(rect, paints[p]);
161 canvas->drawRect(rect, paints[p]);
172 canvas->drawRect(rect, paints[p]);