Lines Matching defs:paint
346 SkPaint paint;
347 paint.setAntiAlias(false); // serialize-8888 doesn't seem to work well w/ partial transparency
348 paint.setColor(kBlue);
350 canvas->drawPath(path, paint);
352 paint.setBlendMode(SkBlendMode::kSrc);
360 paint.setColor(color);
361 paint.setAlpha(opaque ? 0xFF : 0x40);
364 canvas->drawOval(r, paint);
691 SkPaint paint;
702 SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align);
709 SkTextUtils::DrawString(canvas, colLabel.c_str(), x, y, font, paint, SkTextUtils::kCenter_Align);
718 SkPaint paint;
729 canvas->drawString(rowLabel, 0, y, font, paint);
923 SkPaint paint;
926 paint.setColorFilter(yuv_to_rgb_colorfilter());
947 &paint, constraint);
950 sampling, &paint, constraint);
1158 SkPaint paint;
1159 paint.setShader(sh);
1162 canvas->drawRect(SkRect::MakeWH(a->width(), a->height()), paint);
1166 paint.setShader(sh->makeWithColorFilter(SkColorFilters::Matrix(cm)));
1168 canvas->drawRect(SkRect::MakeWH(a->width(), a->height()), paint);