Lines Matching refs:srcrect
202 int SDL_SoftStretch(SDL_Surface *src, SDL_Rect *srcrect,
228 if ( srcrect ) {
229 if ( (srcrect->x < 0) || (srcrect->y < 0) ||
230 ((srcrect->x+srcrect->w) > src->w) ||
231 ((srcrect->y+srcrect->h) > src->h) ) {
240 srcrect = &full_src;
281 inc = (srcrect->h << 16) / dstrect->h;
282 src_row = srcrect->y;
288 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) {
299 + (srcrect->x*bpp);
332 copy_row1(srcp, srcrect->w, dstp, dstrect->w);
335 copy_row2((Uint16 *)srcp, srcrect->w,
339 copy_row3(srcp, srcrect->w, dstp, dstrect->w);
342 copy_row4((Uint32 *)srcp, srcrect->w,