Lines Matching defs:height

223     const uint32_t height = brd->height();
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);
271 uint32_t subsetHeight = height / divisor;
278 subsetHeight += (y + 1 == divisor) ? (height % divisor) : 0;
317 std::max(1, brd->height() / (int)fSampleSize)};
375 for (int y = 0; y < bitmap.height(); y++) {
465 if ((size.width() <= 10 || size.height() <= 10) && 1.0f != fScale) {
477 memset(pixels.get(), 0, size.height() * rowBytes);
552 const int yTranslate = (i / factor) * decodeInfo.height();
592 uint32_t height = decodeInfo.height();
613 SkCodec::kNo_ZeroInitialized, height,
634 codec->getScanlines(dst, height, rowBytes);
641 const int height = decodeInfo.height();
645 const int numStripes = (height + stripeHeight - 1) / stripeHeight;
661 const int linesToSkip = std::min(stripeHeight, height - i * stripeHeight);
666 const int linesToRead = std::min(stripeHeight, height - startY);
681 const int linesToRead = std::min(stripeHeight, height - startY);
686 const int linesToSkip = std::min(stripeHeight, height - (i + 1) * stripeHeight);
697 const int height = decodeInfo.height();
704 subset = SkIRect::MakeXYWH(x, 0, std::min(tileSize, width - x), height);
710 codec->getScanlines(SkTAddOffset<void>(pixels.get(), x * bpp), height, rowBytes);
719 // Total width/height of the image.
721 const int H = codec->getInfo().height();
738 // where the last one ended. So we'll add decodeInfo.width() and height().
765 x, y, decodeInfo.width(), decodeInfo.height(),
771 // translate by the scaled height.
772 top += decodeInfo.height();
860 if ((size.width() <= 10 || size.height() <= 10) && 1 != fSampleSize) {
867 SkAutoMalloc pixels(size.height() * rowBytes);
990 SkAutoMalloc pixels(decodeInfo.height() * rowBytes);
1077 return {codec->getInfo().width(), codec->getInfo().height()};
1087 "Width & height of the viewport used to crop skp rendering.");
1143 PathFindingCanvas(int width, int height) : SkCanvas(width, height, nullptr) {}
1155 canvas->getBaseLayerSize().height());
1349 kMinimumSVGSize.height() / sz.height()));
1371 return SkSize{fDom->containerSize().width() * fScale, fDom->containerSize().height() * fScale}
1563 if (maxDimension < std::max(src.size().width(), src.size().height())) {
1815 SkIntToScalar(size.height())));
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());
2093 SkIntToScalar(src.size().height())),
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());
2307 SkIntToScalar(size.height())));
2337 SkIntToScalar(size.height())));