Lines Matching defs:paint

32     Bounder(const SkRect& r, const SkPaint& paint) {
33 if ((fHasBounds = paint.canComputeFastBounds())) {
34 fBounds = paint.computeFastBounds(r, &fBounds);
355 void SkBitmapDevice::drawPaint(const SkPaint& paint) {
356 BDDraw(this).drawPaint(paint);
360 const SkPoint pts[], const SkPaint& paint) {
361 LOOP_TILER( drawPoints(mode, count, pts, paint, nullptr), nullptr)
364 void SkBitmapDevice::drawRect(const SkRect& r, const SkPaint& paint) {
365 LOOP_TILER( drawRect(r, paint), Bounder(r, paint))
368 void SkBitmapDevice::drawOval(const SkRect& oval, const SkPaint& paint) {
371 this->drawPath(SkPath::Oval(oval), paint, true);
374 void SkBitmapDevice::drawRRect(const SkRRect& rrect, const SkPaint& paint) {
378 this->drawPath(SkPath::RRect(rrect), paint, true);
380 LOOP_TILER( drawRRect(rrect, paint), Bounder(rrect.getBounds(), paint))
385 const SkPaint& paint,
391 SkDrawTiler tiler(this, bounds ? Bounder(*bounds, paint).bounds() : nullptr);
396 draw->drawPath(path, paint, nullptr, pathIsMutable);
402 const SkPaint& paint) {
407 Bounder b(storage, paint);
413 LOOP_TILER(drawBitmap(bitmap, matrix, dstOrNull, sampling, paint), bounds)
416 static inline bool CanApplyDstMatrixAsCTM(const SkMatrix& m, const SkPaint& paint) {
417 if (!paint.getMaskFilter()) {
426 const SkSamplingOptions& sampling, const SkPaint& paint,
517 if (CanApplyDstMatrixAsCTM(matrix, paint)) {
518 this->drawBitmap(*bitmapPtr, matrix, dstPtr, sampling, paint);
526 auto s = SkMakeBitmapShaderForPaint(paint, *bitmapPtr, SkTileMode::kClamp, SkTileMode::kClamp,
532 SkPaint paintWithShader(paint);
541 void SkBitmapDevice::onDrawGlyphRunList(const SkGlyphRunList& glyphRunList, const SkPaint& paint) {
543 LOOP_TILER( drawGlyphRunList(glyphRunList, paint, &fGlyphPainter), nullptr )
547 const SkPaint& paint) {
548 BDDraw(this).drawVertices(vertices, bmode, paint);
556 const SkPaint& paint) {
559 this->INHERITED::drawAtlas(xform, tex, colors, count, mode, paint);
562 BDDraw(this).drawAtlas(xform, tex, colors, count, mode, paint);
568 const SkPaint& paint) {
569 SkASSERT(!paint.getImageFilter());
570 SkASSERT(!paint.getMaskFilter());
581 SkPaint deviceAsShader = paint;
586 this->INHERITED::drawDevice(device, sampling, paint);
593 const SkPaint& paint) {
594 SkASSERT(!paint.getImageFilter());
595 SkASSERT(!paint.getMaskFilter());
605 draw.drawBitmap(resultBM, SkMatrix::I(), nullptr, sampling, paint);