Lines Matching refs:dstRect
22 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
26 fDstRect(dstRect) {
46 SkRect bounds, dstRect;
48 matrix.mapRect(&dstRect, fDstRect);
49 if (fSrcRect == bounds && dstRect == bounds) {
55 dstRect.roundOut(&dstIRect);
66 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
71 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ?
73 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);