Lines Matching refs:srcRect
262 RECT srcRect; in blitImpl() local
263 srcRect.left = sourceArea.x; in blitImpl()
264 srcRect.right = sourceArea.x + sourceArea.width; in blitImpl()
265 srcRect.top = sourceArea.y; in blitImpl()
266 srcRect.bottom = sourceArea.y + sourceArea.height; in blitImpl()
279 srcRect.left += (scissor->x - dstRect.left); in blitImpl()
284 srcRect.top += (scissor->y - dstRect.top); in blitImpl()
289 srcRect.right -= (dstRect.right - (scissor->x + scissor->width)); in blitImpl()
294 srcRect.bottom -= (dstRect.bottom - (scissor->y + scissor->height)); in blitImpl()
302 srcRect.left += -dstRect.left; in blitImpl()
307 srcRect.right -= (dstRect.right - dstSize.width); in blitImpl()
312 srcRect.top += -dstRect.top; in blitImpl()
317 srcRect.bottom -= (dstRect.bottom - dstSize.height); in blitImpl()
322 if (srcRect.left < 0) in blitImpl()
324 dstRect.left += -srcRect.left; in blitImpl()
325 srcRect.left = 0; in blitImpl()
327 if (srcRect.right > srcSize.width) in blitImpl()
329 dstRect.right -= (srcRect.right - srcSize.width); in blitImpl()
330 srcRect.right = srcSize.width; in blitImpl()
332 if (srcRect.top < 0) in blitImpl()
334 dstRect.top += -srcRect.top; in blitImpl()
335 srcRect.top = 0; in blitImpl()
337 if (srcRect.bottom > srcSize.height) in blitImpl()
339 dstRect.bottom -= (srcRect.bottom - srcSize.height); in blitImpl()
340 srcRect.bottom = srcSize.height; in blitImpl()
344 device->StretchRect(readSurface, &srcRect, drawSurface, &dstRect, D3DTEXF_NONE); in blitImpl()