Lines Matching full:canvas
39 bool next(SkCanvas* canvas, SkPaint*) override {
42 canvas->translate(SkIntToScalar(10), 0);
63 SkCanvas canvas(dst);
70 canvas.drawBitmap(src, 0, 0, &paint);
78 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint);
82 // to the left. The test is to ensure that canvas' quickReject machinary
86 canvas.drawBitmap(src, SkIntToScalar(-10), 0, &paint);
91 SkCanvas canvas(100, 100);
94 REPORTER_ASSERT(reporter, false == canvas.quickReject(r));
97 REPORTER_ASSERT(reporter, true == canvas.quickReject(r));
101 canvas.saveLayer(&bounds, NULL);
102 REPORTER_ASSERT(reporter, true == canvas.quickReject(SkRect::MakeWH(10, 10)));
103 REPORTER_ASSERT(reporter, false == canvas.quickReject(SkRect::MakeWH(60, 60)));