SDL
2.0
|
Go to the source code of this file.
Macros | |
#define | DEFINE_COPY_ROW(name, type) |
Functions | |
static void | copy_row3 (Uint8 *src, int src_w, Uint8 *dst, int dst_w) |
int | SDL_SoftStretch (SDL_Surface *src, const SDL_Rect *srcrect, SDL_Surface *dst, const SDL_Rect *dstrect) |
Perform a fast, low quality, stretch blit between two surfaces of the same pixel format. More... | |
Definition at line 151 of file SDL_stretch.c.
Definition at line 177 of file SDL_stretch.c.
References i.
Referenced by SDL_SoftStretch().
int SDL_SoftStretch | ( | SDL_Surface * | src, |
const SDL_Rect * | srcrect, | ||
SDL_Surface * | dst, | ||
const SDL_Rect * | dstrect | ||
) |
Perform a fast, low quality, stretch blit between two surfaces of the same pixel format.
Definition at line 203 of file SDL_stretch.c.
References SDL_PixelFormat::BytesPerPixel, copy_row3(), SDL_Surface::format, SDL_PixelFormat::format, SDL_Rect::h, SDL_Surface::h, NULL, SDL_Surface::pitch, SDL_Surface::pixels, pop, SDL_FALSE, SDL_LockSurface, SDL_MUSTLOCK, SDL_SetError, SDL_TRUE, SDL_UnlockSurface, SDL_Rect::w, SDL_Surface::w, SDL_Rect::x, and SDL_Rect::y.