Home | History | Annotate | Download | only in effects

Lines Matching defs:dstRect

23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
27 , fDstRect(dstRect) {}
49 SkRect bounds, dstRect;
51 ctx.ctm().mapRect(&dstRect, fDstRect);
52 if (fSrcRect == bounds && dstRect == bounds) {
59 dstRect.roundOut(&dstIRect);
70 dstRect.offset(-SkIntToScalar(dstIRect.fLeft), -SkIntToScalar(dstIRect.fTop));
75 fSrcRect.width() == dstRect.width() && fSrcRect.height() == dstRect.height() ?
77 canvas.drawBitmapRectToRect(fBitmap, &fSrcRect, dstRect, &paint);