Lines Matching refs:sRect
42 SliceRectF sRect(0.5f, 0.5f, 0.5f, 0.5f, 0); // Sample from the middle. in clear() local
43 blit(color, sRect, dest, dRect, {rgbaMask}); in clear()
151 SliceRectF sRect = sourceRect; in blit() local
160 swap(sRect.x0, sRect.x1); in blit()
165 swap(sRect.y0, sRect.y1); in blit()
168 source->lockInternal(0, 0, sRect.slice, sw::LOCK_READONLY, sw::PUBLIC); in blit()
171 float w = sRect.width() / dRect.width(); in blit()
172 float h = sRect.height() / dRect.height(); in blit()
174 float xStart = sRect.x0 + (0.5f - dRect.x0) * w; in blit()
175 float yStart = sRect.y0 + (0.5f - dRect.y0) * h; in blit()
1636 RectF sRect = sourceRect; in blitReactor() local
1640 swap(sRect.x0, sRect.x1); in blitReactor()
1645 swap(sRect.y0, sRect.y1); in blitReactor()
1695 data.w = sRect.width() / dRect.width(); in blitReactor()
1696 data.h = sRect.height() / dRect.height(); in blitReactor()
1697 data.x0 = sRect.x0 + (0.5f - dRect.x0) * data.w; in blitReactor()
1698 data.y0 = sRect.y0 + (0.5f - dRect.y0) * data.h; in blitReactor()