43 |
|
|
44 |
/* ---- Prototypes */ |
/* ---- Prototypes */ |
45 |
|
|
|
#ifdef WIN32 |
|
|
#ifdef BUILD_DLL |
|
|
#define DLLINTERFACE __declspec(dllexport) |
|
|
#else |
|
|
#define DLLINTERFACE __declspec(dllimport) |
|
|
#endif |
|
|
#else |
|
|
#define DLLINTERFACE |
|
|
#endif |
|
|
|
|
46 |
/* |
/* |
47 |
|
|
48 |
rotozoomSurface() |
rotozoomSurface() |
54 |
|
|
55 |
*/ |
*/ |
56 |
|
|
57 |
DLLINTERFACE SDL_Surface *rotozoomSurface(SDL_Surface * src, double angle, double zoom, int smooth); |
SDL_Surface *rotozoomSurface(SDL_Surface * src, double angle, double zoom, int smooth); |
58 |
|
|
59 |
|
|
60 |
/* Returns the size of the target surface for a rotozoomSurface() call */ |
/* Returns the size of the target surface for a rotozoomSurface() call */ |
61 |
|
|
62 |
DLLINTERFACE void rotozoomSurfaceSize(int width, int height, double angle, double zoom, int *dstwidth, |
void rotozoomSurfaceSize(int width, int height, double angle, double zoom, int *dstwidth, |
63 |
int *dstheight); |
int *dstheight); |
64 |
|
|
65 |
/* |
/* |
73 |
|
|
74 |
*/ |
*/ |
75 |
|
|
76 |
DLLINTERFACE SDL_Surface *zoomSurface(SDL_Surface * src, double zoomx, double zoomy, int smooth); |
SDL_Surface *zoomSurface(SDL_Surface * src, double zoomx, double zoomy, int smooth); |
77 |
|
|
78 |
/* Returns the size of the target surface for a zoomSurface() call */ |
/* Returns the size of the target surface for a zoomSurface() call */ |
79 |
|
|
80 |
DLLINTERFACE void zoomSurfaceSize(int width, int height, double zoomx, double zoomy, int *dstwidth, int *dstheight); |
void zoomSurfaceSize(int width, int height, double zoomx, double zoomy, int *dstwidth, int *dstheight); |
81 |
|
|
82 |
|
|
83 |
/* Ends C function definitions when using C++ */ |
/* Ends C function definitions when using C++ */ |