Lines Matching defs:paints
72 SkPaint paints[] = { bluePaint, bmpPaint };
79 for (size_t p = 0; p < SK_ARRAY_COUNT(paints); ++p) {
81 paints[p].setStyle(stroke ? SkPaint::kStroke_Style : SkPaint::kFill_Style);
83 paints[p].setAntiAlias(a > 0);
84 paints[p].setAlpha(a > 1 ? 0x80 : 0xff);
91 canvas->drawRect(rect, paints[p]);
98 canvas->drawRect(rect, paints[p]);
105 canvas->drawRect(rect, paints[p]);
112 canvas->drawRect(rect, paints[p]);
121 canvas->drawRect(rect, paints[p]);
134 canvas->drawRect(rect, paints[p]);
144 canvas->drawRect(rect, paints[p]);
154 canvas->drawRect(rect, paints[p]);
165 canvas->drawRect(rect, paints[p]);
176 canvas->drawRect(rect, paints[p]);