Lines Matching refs:bitmap
15 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap)
17 , fBitmap(bitmap)
18 , fSrcRect(SkRect::MakeWH(SkIntToScalar(bitmap.width()),
19 SkIntToScalar(bitmap.height())))
23 SkBitmapSource::SkBitmapSource(const SkBitmap& bitmap, const SkRect& srcRect, const SkRect& dstRect)
25 , fBitmap(bitmap)
46 SkBitmap bitmap;
47 if (!buffer.readBitmap(&bitmap)) {
50 return SkBitmapSource::Create(bitmap, src, dst);
65 // No regions cropped out or resized; return entire bitmap.