Lines Matching refs:pic
120 SkAutoTUnref<SkPicture> pic;
130 pic.reset(recorder.endRecording());
134 pic.reset(SkPicture::CreateFromStream(&stream));
140 SkSurface* surf = SkSurface::NewRasterPMColor(SkScalarCeilToInt(pic->cullRect().width()),
141 SkScalarCeilToInt(pic->cullRect().height()));
142 surf->getCanvas()->drawPicture(pic);
147 pic->playback(recorder.beginRecording(pic->cullRect().width(),
148 pic->cullRect().height(),
159 if (NULL == pic) {
167 return pic.detach();
185 pic->playback(recorder.beginRecording(pic->cullRect().width(),
186 pic->cullRect().height(),