Lines Matching defs:width

222     const uint32_t width = brd->width();
225 if ((width / fSampleSize <= 10 || height / fSampleSize <= 10) && 1 != fSampleSize) {
231 if (!brd->decodeRegion(&bitmap, nullptr, SkIRect::MakeXYWH(0, 0, width, height),
242 if (width < divisor || height < divisor) {
250 const uint32_t maxBorder = std::min(width, height) / (fSampleSize * divisor);
270 uint32_t subsetWidth = width / divisor;
277 subsetWidth += (x + 1 == divisor) ? (width % divisor) : 0;
316 return {std::max(1, brd->width() / (int)fSampleSize),
377 SkOpts::RGBA_to_BGRA(row, row, bitmap.width());
465 if ((size.width() <= 10 || size.height() <= 10) && 1.0f != fScale) {
471 const size_t rowBytes = size.width() * bpp;
551 const int xTranslate = (i % factor) * decodeInfo.width();
696 const int width = decodeInfo.width();
703 for (int x = 0; x < width; x += tileSize) {
704 subset = SkIRect::MakeXYWH(x, 0, std::min(tileSize, width - x), height);
719 // Total width/height of the image.
720 const int W = codec->getInfo().width();
738 // where the last one ended. So we'll add decodeInfo.width() and height().
765 x, y, decodeInfo.width(), decodeInfo.height(),
774 // translate by the scaled width.
775 left += decodeInfo.width();
860 if ((size.width() <= 10 || size.height() <= 10) && 1 != fSampleSize) {
866 size_t rowBytes = size.width() * bpp;
989 size_t rowBytes = decodeInfo.width() * bpp;
1077 return {codec->getInfo().width(), codec->getInfo().height()};
1143 PathFindingCanvas(int width, int height) : SkCanvas(width, height, nullptr) {}
1154 PathFindingCanvas pathFinder(canvas->getBaseLayerSize().width(),
1348 fScale = std::max(1.f, std::max(kMinimumSVGSize.width() / sz.width(),
1371 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale}
1563 if (maxDimension < std::max(src.size().width(), src.size().height())) {
1814 Result result = src.draw(dContext, recorder.beginRecording(SkIntToScalar(size.width()),
1975 int width = src.size(i).width(), height = src.size(i).height();
1977 doc->beginPage(SkIntToScalar(width), SkIntToScalar(height));
2052 Result result = src.draw(nullptr, recorder.beginRecording(size.width(), size.height()));
2063 DebugCanvas debugCanvas(src.size().width(), src.size().height());
2092 SkSVGCanvas::Make(SkRect::MakeWH(SkIntToScalar(src.size().width()),
2250 return {SkScalarRoundToInt(bounds.width()), SkScalarRoundToInt(bounds.height())};
2257 SkISize size = auto_compute_translate(&matrix, src.size().width(), src.size().height());
2286 SkISize size = auto_compute_translate(&upright, bitmap->width(), bitmap->height());
2306 Result result = src.draw(nullptr, recorder.beginRecording(SkIntToScalar(size.width()),
2336 Result result = src.draw(context, recorder.beginRecording(SkIntToScalar(size.width()),