• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "SkBitmapRegionDecoder.h"
2 
decodeRegion(SkBitmap * bitmap,SkIRect rect,SkBitmap::Config pref,int sampleSize)3 bool SkBitmapRegionDecoder::decodeRegion(SkBitmap* bitmap, SkIRect rect,
4         SkBitmap::Config pref, int sampleSize) {
5     fDecoder->setSampleSize(sampleSize);
6     return fDecoder->decodeRegion(bitmap, rect, pref);
7 }
8