Lines Matching refs:dstrect

611               SDL_Surface * dst, SDL_Rect * dstrect)  in SDL_LowerBlit()  argument
628 return (src->map->blit(src, srcrect, dst, dstrect)); in SDL_LowerBlit()
634 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_UpperBlit() argument
648 if (dstrect == NULL) { in SDL_UpperBlit()
652 dstrect = &fulldst; in SDL_UpperBlit()
663 dstrect->x -= srcx; in SDL_UpperBlit()
674 dstrect->y -= srcy; in SDL_UpperBlit()
692 dx = clip->x - dstrect->x; in SDL_UpperBlit()
695 dstrect->x += dx; in SDL_UpperBlit()
698 dx = dstrect->x + w - clip->x - clip->w; in SDL_UpperBlit()
702 dy = clip->y - dstrect->y; in SDL_UpperBlit()
705 dstrect->y += dy; in SDL_UpperBlit()
708 dy = dstrect->y + h - clip->y - clip->h; in SDL_UpperBlit()
723 sr.w = dstrect->w = w; in SDL_UpperBlit()
724 sr.h = dstrect->h = h; in SDL_UpperBlit()
725 return SDL_LowerBlit(src, &sr, dst, dstrect); in SDL_UpperBlit()
727 dstrect->w = dstrect->h = 0; in SDL_UpperBlit()
733 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_UpperBlitScaled() argument
758 if (NULL == dstrect) { in SDL_UpperBlitScaled()
762 dst_w = dstrect->w; in SDL_UpperBlitScaled()
763 dst_h = dstrect->h; in SDL_UpperBlitScaled()
768 return SDL_BlitSurface(src, srcrect, dst, dstrect); in SDL_UpperBlitScaled()
774 if (NULL == dstrect) { in SDL_UpperBlitScaled()
780 dst_x0 = dstrect->x; in SDL_UpperBlitScaled()
781 dst_y0 = dstrect->y; in SDL_UpperBlitScaled()
869 if (dstrect) in SDL_UpperBlitScaled()
870 *dstrect = final_dst; in SDL_UpperBlitScaled()
887 SDL_Surface * dst, SDL_Rect * dstrect) in SDL_LowerBlitScaled() argument
903 return SDL_SoftStretch( src, srcrect, dst, dstrect ); in SDL_LowerBlitScaled()
905 return SDL_LowerBlit( src, srcrect, dst, dstrect ); in SDL_LowerBlitScaled()