Lines Matching defs:paint
91 SkPaint paint;
92 paint.setColor(SK_ColorBLACK);
93 paint.setAntiAlias(true);
94 paint.setStrokeWidth(strokeWidth);
95 paint.setStyle(strokeStyle);
108 &bounds, &paint);
110 paint.setStrokeWidth(0.0f);
111 paint.setStyle(SkPaint::kStroke_Style);
114 paint.setColor(SK_ColorGREEN);
115 canvas->drawRect(bounds, paint);
118 paint.setColor(SK_ColorRED);
119 canvas->drawLine(0.0f, 0.0f, advance, 0.0f, paint);
123 paint.setColor(SK_ColorBLACK);
124 paint.setStrokeWidth(strokeWidth);
125 paint.setStyle(strokeStyle);
127 0.0f, 0.0f, font, paint);
134 font.getWidthsBounds(glyphs, count, widths, nullptr, &paint);
136 paint.setStrokeWidth(0.0f);
137 paint.setStyle(SkPaint::kStroke_Style);
140 paint.setColor(SK_ColorMAGENTA);
143 canvas->drawLine(w, 0.0f, w, 5.0f, paint);