Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

SDL_rotozoom.h File Reference

#include <math.h>
#include "SDL.h"

Go to the source code of this file.

Data Structures

struct  tColorRGBA
struct  tColorY

Defines

#define M_PI   3.141592654
#define SMOOTHING_OFF   0
#define SMOOTHING_ON   1
#define DLLINTERFACE

Typedefs

typedef tColorRGBA tColorRGBA
typedef tColorY tColorY

Functions

DLLINTERFACE SDL_Surface * rotozoomSurface (SDL_Surface *src, double angle, double zoom, int smooth)
DLLINTERFACE void rotozoomSurfaceSize (int width, int height, double angle, double zoom, int *dstwidth, int *dstheight)
DLLINTERFACE SDL_Surface * zoomSurface (SDL_Surface *src, double zoomx, double zoomy, int smooth)
DLLINTERFACE void zoomSurfaceSize (int width, int height, double zoomx, double zoomy, int *dstwidth, int *dstheight)


Define Documentation

#define M_PI   3.141592654
 

Definition at line 20 of file SDL_rotozoom.h.

#define SMOOTHING_OFF   0
 

Definition at line 27 of file SDL_rotozoom.h.

#define SMOOTHING_ON   1
 

Definition at line 28 of file SDL_rotozoom.h.

#define DLLINTERFACE
 

Definition at line 46 of file SDL_rotozoom.h.


Typedef Documentation

typedef struct tColorRGBA tColorRGBA
 

typedef struct tColorY tColorY
 


Function Documentation

DLLINTERFACE SDL_Surface* rotozoomSurface SDL_Surface *  src,
double  angle,
double  zoom,
int  smooth
 

DLLINTERFACE void rotozoomSurfaceSize int  width,
int  height,
double  angle,
double  zoom,
int *  dstwidth,
int *  dstheight
 

DLLINTERFACE SDL_Surface* zoomSurface SDL_Surface *  src,
double  zoomx,
double  zoomy,
int  smooth
 

Referenced by SDLMain::scale().

DLLINTERFACE void zoomSurfaceSize int  width,
int  height,
double  zoomx,
double  zoomy,
int *  dstwidth,
int *  dstheight
 

Referenced by SDLMain::scaleX(), and SDLMain::scaleY().


Generated on Wed Jul 14 00:43:44 2004 for CSLib by doxygen 1.3.6