Lines Matching defs:dstRect
23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
27 , fDstRect(dstRect) {}
61 SkRect bounds, dstRect;
63 ctx.ctm().mapRect(&dstRect, fDstRect);
64 if (fSrcRect == bounds && dstRect == bounds) {
71 dstRect.roundOut(&dstIRect);
82 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
87 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ?
89 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);