Lines Matching full:srcrect
173 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
197 if ( srcrect ) {
198 if ( (srcrect->x < 0) || (srcrect->y < 0) ||
199 ((srcrect->x+srcrect->w) > src->w) ||
200 ((srcrect->y+srcrect->h) > src->h) ) {
209 srcrect = &full_src;
250 inc = (srcrect->h << 16) / dstrect->h;
251 src_row = srcrect->y;
258 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) {
269 + (srcrect->x*bpp);
276 copy_row3(srcp, srcrect->w, dstp, dstrect->w);
307 copy_row1(srcp, srcrect->w, dstp, dstrect->w);
310 copy_row2((Uint16 *)srcp, srcrect->w,
314 copy_row3(srcp, srcrect->w, dstp, dstrect->w);
317 copy_row4((Uint32 *)srcp, srcrect->w,