Lines Matching refs:rect
714 const SkIRect& rect,
718 SkASSERT(rect.fLeft >= 0 && rect.fRight <= this->width());
719 SkASSERT(rect.fTop >= 0 && rect.fBottom <= this->height());
728 auto transferResult = this->transferPixels(SkColorTypeToGrColorType(colorType), rect);
731 auto ii = SkImageInfo::Make(rect.size(), colorType, this->colorInfo().alphaType(),
738 SkIPoint pt{rect.fLeft, rect.fTop};
761 rect.size(),
1235 const SkIRect& rect) {
1236 SkASSERT(rect.fLeft >= 0 && rect.fRight <= this->width());
1237 SkASSERT(rect.fTop >= 0 && rect.fBottom <= this->height());
1264 size_t rowBytes = GrColorTypeBytesPerPixel(supportedRead.fColorType) * rect.width();
1266 size_t size = rowBytes * rect.height();
1275 auto srcRect = rect;
1278 srcRect = SkIRect::MakeLTRB(rect.fLeft, this->height() - rect.fBottom, rect.fRight,
1279 this->height() - rect.fTop);
1288 result.fPixelConverter = [w = rect.width(), h = rect.height(), dstCT, supportedRead, at](