Lines Matching defs:image
64 static void draw_image(SkCanvas* canvas, const sk_sp<SkImage> image, sk_sp<SkImageFilter> filter) {
70 canvas->clipIRect(image->bounds());
71 canvas->drawImage(image, 0, 0, SkSamplingOptions(), &paint);
96 sk_sp<SkImage> image[] =
106 draw_image(canvas, image[0], std::move(filter));
107 canvas->translate(image[0]->width() + 20, 0);
110 draw_image(canvas, image[1], std::move(filter));
111 canvas->translate(image[1]->width() + 20, 0);
114 draw_image(canvas, image[2], std::move(filter));
115 canvas->translate(image[2]->width() + 20, 0);
118 canvas->translate(0, image[0]->height() + 20);
145 // Make an image with one red and one blue band
156 // Draw the blurred image once
160 // Draw the blurred image with a clip positioned such that the draw would be excluded except
161 // that the image filter causes it to intersect with the clip. Ideally should look like the
162 // left image, but clipped to the debug-black rectangle (Narrator: it does not look like that).