Lines Matching defs:width
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) {
792 SkIRect::MakeWH(std::min(layerBounds.width(), maxLayerDim),
921 SkBaseDevice::CreateInfo info(make_layer_info(src->imageInfo(), requiredInput.width(),
1075 layerBounds.width(), layerBounds.height(),
1099 newDevice = sk_make_sp<SkNoPixelsDevice>(SkIRect::MakeWH(layerBounds.width(),
1839 SkScalar w = r.width();
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,
2046 rec->fBackImage->fImage->width(),
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()})) {