Lines Matching refs:bounds
81 SkIRect bounds = this->getBounds(); in writeOutSkp() local
83 SkCanvas* canvas = recorder.beginRecording(SkIntToScalar(bounds.width()), in writeOutSkp()
84 SkIntToScalar(bounds.height())); in writeOutSkp()
102 SkIRect bounds; in getBounds() local
104 bounds = fPicture->cullRect().roundOut(); in getBounds()
107 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), maxRTSize), in getBounds()
108 SkTMin(bounds.height(), maxRTSize)); in getBounds()
111 bounds = SkIRect::MakeWH(kDefaultWidth, kDefaultHeight); in getBounds()
116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
117 SkTMin(bounds.height(), kMaxHeight)); in getBounds()
118 return bounds; in getBounds()
137 SkIRect bounds = this->getBounds(); in createCPUSurface() local
142 SkImageInfo info = SkImageInfo::Make(bounds.width(), bounds.height(), cap.fColorType, in createCPUSurface()
149 SkIRect bounds = this->getBounds(); in createGPUSurface() local
154 SkImageInfo info = SkImageInfo::Make(bounds.width(), bounds.height(), cap.fColorType, in createGPUSurface()
206 SkIRect bounds = this->getBounds(); in initPictureFromStream() local
207 fDebugCanvas.reset(new SkDebugCanvas(bounds.width(), bounds.height())); in initPictureFromStream()