Lines Matching refs:dstrect
203 SDL_Surface *dst, SDL_Rect *dstrect)
242 if ( dstrect ) {
243 if ( (dstrect->x < 0) || (dstrect->y < 0) ||
244 ((dstrect->x+dstrect->w) > dst->w) ||
245 ((dstrect->y+dstrect->h) > dst->h) ) {
254 dstrect = &full_dst;
281 inc = (srcrect->h << 16) / dstrect->h;
283 dst_row = dstrect->y;
288 (generate_rowbytes(srcrect->w, dstrect->w, bpp) < 0) ) {
294 for ( dst_maxrow = dst_row+dstrect->h; dst_row<dst_maxrow; ++dst_row ) {
296 + (dstrect->x*bpp);
332 copy_row1(srcp, srcrect->w, dstp, dstrect->w);
336 (Uint16 *)dstp, dstrect->w);
339 copy_row3(srcp, srcrect->w, dstp, dstrect->w);
343 (Uint32 *)dstp, dstrect->w);