zenilib
0.5.3.0
|
Go to the source code of this file.
Macros | |
#define | MIN(a, b) (((a) < (b)) ? (a) : (b)) |
Functions | |
SDL_Surface * | _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 | _rotozoomSurfaceSizeTrig (int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle) |
Definition at line 2 of file SDL_rotate.h.
Referenced by SW_RenderCopyEx().
SDL_Surface* _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 343 of file SDL_rotate.c.
References _colorkey(), _transformSurfaceRGBA(), SDL_PixelFormat::Amask, SDL_PixelFormat::BitsPerPixel, SDL_PixelFormat::Bmask, SDL_Palette::colors, SDL_Surface::flags, SDL_Surface::format, SDL_PixelFormat::Gmask, GUARD_ROWS, SDL_Surface::h, i, SDL_Palette::ncolors, NULL, SDL_PixelFormat::palette, SDL_PixelFormat::Rmask, SDL_BlitSurface, SDL_BYTEORDER, SDL_CreateRGBSurface(), SDL_FillRect(), SDL_FreeSurface(), SDL_GetRGB(), SDL_LIL_ENDIAN, SDL_LockSurface(), SDL_MapRGB(), SDL_MUSTLOCK, SDL_RLEACCEL, SDL_SetColorKey(), SDL_SWSURFACE, SDL_TRUE, SDL_UnlockSurface(), transformSurfaceY(), and SDL_Surface::w.
Referenced by SW_RenderCopyEx().
void _rotozoomSurfaceSizeTrig | ( | int | width, |
int | height, | ||
double | angle, | ||
int * | dstwidth, | ||
int * | dstheight, | ||
double * | cangle, | ||
double * | sangle | ||
) |
Definition at line 107 of file SDL_rotate.c.
References M_PI, MAX, SDL_ceil(), SDL_cos(), SDL_fabs(), and SDL_sin().
Referenced by SW_RenderCopyEx().