Lines Matching defs:picture
64 // Return a picture with the bitmaps drawn at the specified positions.
89 // Allocate result to be large enough to hold subset, and then draw the picture
243 SkPicture picture;
245 picture.beginRecording(0, 0);
247 picture.endRecording();
249 picture.beginRecording(0, 0);
252 // Ensure that serializing an empty picture does not assert. Likewise only runs in debug mode.
254 SkPicture picture;
255 picture.beginRecording(0, 0);
256 picture.endRecording();
258 picture.serialize(&stream);
288 SkPicture picture;
289 SkCanvas* canvas = picture.beginRecording(100, 100);
294 picture.endRecording();
298 SkPicture picture;
299 SkCanvas* canvas = picture.beginRecording(100, 100);
309 picture.endRecording();
321 SkPicture picture;
322 SkCanvas* recordingCanvas = picture.beginRecording(100, 100);
324 picture.endRecording();
327 canvas.drawPicture(picture);
364 SkPicture picture;
365 SkCanvas* canvas = picture.beginRecording(bitmap.width(), bitmap.height());
368 picture.serialize(&wStream, &PNGEncodeBitmapToStream);
401 // had a picture with no paints. This test passes by not crashing.
403 SkPicture picture;
404 picture.beginRecording(1, 1);
405 picture.endRecording();
406 SkPicture* destPicture = picture.clone();
412 SkPicture picture;
413 picture.beginRecording(1, 1);
414 SkPicture* destPicture = picture.clone();