Lines Matching refs:dstrect
271 const SDL_Rect * srcrect, const SDL_FRect * dstrect) in SW_QueueCopy() argument
285 verts->x = (int)(renderer->viewport.x + dstrect->x); in SW_QueueCopy()
286 verts->y = (int)(renderer->viewport.y + dstrect->y); in SW_QueueCopy()
288 verts->x = (int)dstrect->x; in SW_QueueCopy()
289 verts->y = (int)dstrect->y; in SW_QueueCopy()
291 verts->w = (int)dstrect->w; in SW_QueueCopy()
292 verts->h = (int)dstrect->h; in SW_QueueCopy()
300 SDL_Rect dstrect; member
308 const SDL_Rect * srcrect, const SDL_FRect * dstrect, in SW_QueueCopyEx() argument
322 verts->dstrect.x = (int)(renderer->viewport.x + dstrect->x); in SW_QueueCopyEx()
323 verts->dstrect.y = (int)(renderer->viewport.y + dstrect->y); in SW_QueueCopyEx()
325 verts->dstrect.x = (int)dstrect->x; in SW_QueueCopyEx()
326 verts->dstrect.y = (int)dstrect->y; in SW_QueueCopyEx()
328 verts->dstrect.w = (int)dstrect->w; in SW_QueueCopyEx()
329 verts->dstrect.h = (int)dstrect->h; in SW_QueueCopyEx()
709 SDL_Rect *dstrect = verts + 1; in SW_RunCommandQueue() local
717 if ( srcrect->w == dstrect->w && srcrect->h == dstrect->h ) { in SW_RunCommandQueue()
718 SDL_BlitSurface(src, srcrect, surface, dstrect); in SW_RunCommandQueue()
724 SDL_BlitScaled(src, srcrect, surface, dstrect); in SW_RunCommandQueue()
734 … ©data->dstrect, copydata->angle, ©data->center, copydata->flip); in SW_RunCommandQueue()