Lines Matching defs:height
99 const SkRect bounds = SkRect::MakeIWH(size.width(), size.height());
427 SkCanvas::SkCanvas(int width, int height, const SkSurfaceProps* props)
432 SkIRect::MakeWH(std::max(width, 0), std::max(height, 0)), fProps));
560 SkIRect srcRect = SkIRect::MakeXYWH(x, y, srcInfo.width(), srcInfo.height());
561 if (!srcRect.intersect({0, 0, device->width(), device->height()})) {
771 if (layerBounds.width() > maxLayerDim || layerBounds.height() > maxLayerDim) {
775 maxLayerDim = std::max(std::max(idealLayerBounds.width(), idealLayerBounds.height()),
790 if (layerBounds.width() > maxLayerDim || layerBounds.height() > maxLayerDim) {
793 std::min(layerBounds.height(), maxLayerDim)));
922 requiredInput.height(), false),
1075 layerBounds.width(), layerBounds.height(),
1100 layerBounds.height()),
1840 SkScalar h = r.height();
1882 bounds = SkIRect::MakeWH(image->width(), image->height());
1886 if (SkLatticeIter::Valid(image->width(), image->height(), latticePlusBounds)) {
1890 this->drawImageRect(image, SkRect::MakeIWH(image->width(), image->height()), dst,
2047 rec->fBackImage->fImage->height());
2143 if (path.isInverseFillType() && pathBounds.width() <= 0 && pathBounds.height() <= 0) {
2208 SkRect bounds = SkRect::MakeXYWH(x, y, image->width(), image->height());
2214 this->canDrawBitmapAsSprite(x, y, image->width(), image->height(), sampling, realPaint) &&
2299 this->drawImageRect(image, SkRect::MakeIWH(image->width(), image->height()), dst, sampling,
2719 SkNoDrawCanvas::SkNoDrawCanvas(int width, int height)
2720 : INHERITED(SkIRect::MakeWH(width, height)) {}
2749 if (!clip.intersect({0, 0, dev->width(), dev->height()})) {