Home | History | Annotate | Download | only in gm

Lines Matching refs:dst

36     const SkRect dst = SkRect::MakeWH(177, 15);
40 str.printf("scale %g %g", dst.width() / img->width(), dst.height() / img->height());
46 canvas->drawImageRect(img.get(), dst, &paint);
75 SkIRect dst = SkIRect::MakeWH(img->width(), img->height());
76 while (dst.width() > 5) {
77 canvas->drawImageRect(img, SkRect::Make(dst), &paint);
78 dst.offset(dst.width() + 10, 0);
79 dst.fRight = dst.fLeft + dst.width()/2;
80 dst.fBottom = dst.fTop + dst.height()/2;
124 SkIRect dst = SkIRect::MakeWH(img->width() / 2, img->height() / 2);
125 while (dst.width() > 5) {
126 canvas->drawImageRect(img, SkRect::Make(dst), &paint);
127 dst.offset(dst.width() + 10, 0);
128 dst.fRight = dst.fLeft + dst.width() / 2;
129 dst.fBottom = dst.fTop + dst.height() / 2;