Lines Matching defs:width
117 canvas->translate(r.width() + 5, 0);
221 canvas->translate(r.width() + 5, 0);
229 /** This determines the length and width of the bitmaps used in the ComposeShaders. Values
250 int width = 255;
253 dst8Storage.setCount(width * height);
255 dst32Storage.setCount(width * height * sizeof(int32_t));
257 for (int x = 0; x < width; ++x) {
258 dst8Storage[y * width + x] = (y + x) / 2;
259 dst32Storage[y * width + x] = SkPackARGB32(0xFF, x, y, 0);
265 SkRect r = {0, 0, SkIntToScalar(width), SkIntToScalar(height)};
268 SkImageInfo imageInfo = SkImageInfo::Make(width, height,
270 skBitmap.installPixels(imageInfo, dst32Storage.begin(), width * sizeof(int32_t),
272 imageInfo = SkImageInfo::Make(width, height,
274 skMask.installPixels(imageInfo, dst8Storage.begin(), width, nullptr, nullptr);