SDL
2.0
|
Go to the source code of this file.
Macros | |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
SDL_Surface * | SDLgfx_rotateSurface (SDL_Surface *src, double angle, int centerx, int centery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle) |
void | SDLgfx_rotozoomSurfaceSizeTrig (int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle) |
Definition at line 23 of file SDL_rotate.h.
Referenced by SW_RenderCopyEx().
SDL_Surface* SDLgfx_rotateSurface | ( | SDL_Surface * | src, |
double | angle, | ||
int | centerx, | ||
int | centery, | ||
int | smooth, | ||
int | flipx, | ||
int | flipy, | ||
int | dstwidth, | ||
int | dstheight, | ||
double | cangle, | ||
double | sangle | ||
) |
Definition at line 413 of file SDL_rotate.c.
References _transformSurfaceRGBA(), SDL_PixelFormat::Amask, SDL_PixelFormat::BitsPerPixel, SDL_PixelFormat::Bmask, SDL_Palette::colors, SDL_Surface::format, SDL_PixelFormat::Gmask, GUARD_ROWS, SDL_Surface::h, i, SDL_Palette::ncolors, NULL, SDL_PixelFormat::palette, SDL_PixelFormat::Rmask, SDL_BLENDMODE_BLEND, SDL_BLENDMODE_MOD, SDL_BLENDMODE_NONE, SDL_CreateRGBSurface, SDL_FALSE, SDL_FillRect, SDL_GetColorKey, SDL_GetSurfaceBlendMode, SDL_LockSurface, SDL_MapRGBA, SDL_MUSTLOCK, SDL_SetColorKey, SDL_SetSurfaceBlendMode, SDL_TRUE, SDL_UnlockSurface, transformSurfaceRGBA90(), transformSurfaceY(), and transformSurfaceY90().
Referenced by SW_RenderCopyEx().
void SDLgfx_rotozoomSurfaceSizeTrig | ( | int | width, |
int | height, | ||
double | angle, | ||
int * | dstwidth, | ||
int * | dstheight, | ||
double * | cangle, | ||
double * | sangle | ||
) |
Definition at line 104 of file SDL_rotate.c.
References MAX, SDL_ceil, SDL_cos, SDL_fabs, and SDL_sin.
Referenced by SW_RenderCopyEx().