Home | History | Annotate | Download | only in gm

Lines Matching full:canvas

14 static void draw_content(SkCanvas* canvas) {
15 SkImageInfo info = canvas->imageInfo();
18 canvas->drawCircle(SkScalarHalf(info.width()), SkScalarHalf(info.height()),
35 void onDraw(SkCanvas* canvas) override {
37 SkAutoTUnref<SkSurface> surface(canvas->newSurface(info));
50 canvas->drawBitmap(bitmap, 0, 0, NULL);
55 canvas->translate(120, 0);
58 canvas->drawBitmap(bitmap, 0, 0, NULL);
62 canvas->translate(120, 0);
63 surface->draw(canvas, 0, 0, NULL);