Lines Matching defs:height
36 std::tuple<sk_sp<SkImage>, SkRect> make_ringed_image(int width, int height) {
44 SkASSERT(0 == width % 2 && 0 == height % 2);
45 SkASSERT(width >= 6 && height >= 6);
47 SkImageInfo info = SkImageInfo::Make(width, height, kRGBA_8888_SkColorType,
64 for (int y = 2; y < height / 2; ++y) {
78 for (int y = height / 2; y < height - 2; ++y) {
92 scanline = bitmap.getAddr32(0, height - 2);
99 scanline = bitmap.getAddr32(0, height - 1);
104 return {bitmap.asImage(), SkRect::Make({2, 2, width - 2, height - 2})};
120 this->onISize().height() <= kMaxTextureSize);
177 fBigSrcRect.height()/2);
315 // This must be at least as large as the GM width and height so that a surface can be made.
353 SkRect r = SkRect::MakeIWH(info.width(), info.height());