Home | History | Annotate | Download | only in tests

Lines Matching refs:SkCanvas

11 #include "SkCanvas.h"
34 typedef void (*DrawBitmapProc)(SkCanvas*, const SkBitmap&, const SkPoint&);
36 static void drawbitmap_proc(SkCanvas* canvas, const SkBitmap& bm,
41 static void drawbitmaprect_proc(SkCanvas* canvas, const SkBitmap& bm,
50 static void drawshader_proc(SkCanvas* canvas, const SkBitmap& bm,
73 SkCanvas* canvas = pic->beginRecording(1000, 1000);
103 SkCanvas canvas(*result);
270 static void rand_op(SkCanvas* canvas, SkRandom& rand) {
297 SkCanvas* canvas = picture.beginRecording(100, 100);
309 SkCanvas* canvas = picture.beginRecording(100, 100);
332 SkCanvas* recordingCanvas = picture.beginRecording(100, 100);
336 SkCanvas canvas;
350 SkCanvas* canvas = picture.beginRecording(bitmap.width(), bitmap.height());
450 SkCanvas* canvas = picture.beginRecording(10, 10,
462 SkCanvas* canvas = picture.beginRecording(10, 10,
475 SkCanvas* canvas = picture.beginRecording(10, 10,
488 SkCanvas* canvas = picture.beginRecording(10, 10,
500 SkCanvas* canvas = picture.beginRecording(10, 10,
515 SkCanvas* canvas = picture.beginRecording(10, 10,
531 class ClipCountingCanvas : public SkCanvas {
534 : SkCanvas(device)
561 typedef SkCanvas INHERITED;
566 SkCanvas* canvas = picture.beginRecording(10, 10, 0);
588 SkCanvas* canvas;