Lines Matching refs:rect
251 const auto rect = SkIRect::MakeWH(readInfo.width(), readInfo.height()).makeOffset(offset);
270 if (!SkIRect::Intersects(rect, surfBounds)) {
276 } else if (!rules.fUncontainedRectSucceeds && !surfBounds.contains(rect)) {
287 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, csConversion);
295 // Considering the rect we tried to read and the surface bounds figure out which pixels in
298 if (result == Result::kSuccess && srcReadRect.intersect(surfBounds, rect)) {
299 SkIRect dstWriteRect = srcReadRect.makeOffset(-rect.fLeft, -rect.fTop);
337 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, csConversion, x, y,
380 "Result pixels modified result outside read rect [%d, %d, %d, %d]. "
382 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, label.c_str(),
401 // We consider a src or read CT thoroughly tested once it has run through the long rect array
464 for (const auto& rect : rects) {
465 const auto readInfo = SkImageInfo::Make(rect.width(), rect.height(),
467 const SkIPoint offset = rect.topLeft();
579 auto rect = SkIRect::MakeSize(pixels.dimensions()).makeOffset(offset);
583 surface->asyncRescaleAndReadPixels(pixels.info(), rect,
647 auto rect = SkIRect::MakeSize(pixels.dimensions()).makeOffset(offset);
657 image->asyncRescaleAndReadPixels(pixels.info(), rect,
826 const auto rect = SkIRect::MakePtSize(offset, srcPixels.dimensions());
841 if (!SkIRect::Intersects(rect, surfBounds)) {
857 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, csConversion);
863 if (result != Result::kSuccess || !checkRect.intersect(surfBounds, rect)) {
906 rect.fLeft,
907 rect.fTop,
908 rect.fRight,
909 rect.fBottom,
931 // The area around written rect should be the same in the first and second read.
954 rect.fLeft,
955 rect.fTop,
956 rect.fRight,
957 rect.fBottom,
988 // We consider a dst or write CT thoroughly tested once it has run through the long rect array
1036 for (const auto& rect : rects) {
1037 auto writeInfo = SkImageInfo::Make(rect.size(),
1046 const SkIPoint offset = rect.topLeft();