X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-GFX-Rotozoom.html-inc;h=50d9c4d781e5b11c114b9e00e8c214d217049b8e;hb=d5943b684b1240307fbf0a103abbf18dd93998f4;hp=f1fabde65c0820942fb7a7956543db3bf076bb98;hpb=c256636b7bb9431b6605429e3f793859c6983842;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-GFX-Rotozoom.html-inc b/pages/SDL-GFX-Rotozoom.html-inc index f1fabde..50d9c4d 100644 --- a/pages/SDL-GFX-Rotozoom.html-inc +++ b/pages/SDL-GFX-Rotozoom.html-inc @@ -1,12 +1,202 @@

Index

-
+ +
-

The Following are XS bindings to the SDL_gfx Library

-

Described here:

-

See: http://www.ferzkopp.net/joomla/content/view/19/14/

+

NAME

Top

+
+

SDL::GFX::Rotozoom - rotation and zooming functions for surfaces

+ +
+

CATEGORY

Top

+
+

TODO, GFX

+ +
+

CONSTANTS

Top

+
+

The constants are not exported by default. You can export them into your namespace by doing:

+
 use SDL::GFX::Rotozoom ':all';
+
+
+

or access them directly:

+
 SDL::GFX::Rotozoom::SMOOTHING_OFF;
+
+
+

or by choosing the export tags below:

+

Export tag: ':smoothing'

+
 SMOOTHING_OFF
+ SMOOTHING_ON
+
+
+ +
+

METHODS

Top

+
+ +
+

surface

+
+
 SDL_Surface *
+ gfx_roto_surface(src, angle, zoom, smooth)
+ 	SDL_Surface * src
+ 	double angle
+ 	double zoom
+ 	int smooth
+ 	PREINIT:
+ 		char *CLASS = "SDL::Surface";
+ 	CODE:
+ 		RETVAL = rotozoomSurface(src, angle, zoom, smooth);
+ 	OUTPUT:
+ 		RETVAL
+
+
+ +
+

surface_xy

+
+
 SDL_Surface *
+ gfx_roto_surface_xy(src, angle, zoomx, zoomy, smooth)
+ 	SDL_Surface * src
+ 	double angle
+ 	double zoomx
+ 	double zoomy
+ 	int smooth
+ 	PREINIT:
+ 		char *CLASS = "SDL::Surface";
+ 	CODE:
+ 		RETVAL = rotozoomSurfaceXY(src, angle, zoomx, zoomy, smooth);
+ 	OUTPUT:
+ 		RETVAL
+
+
+ +
+

surface_size

+
+
 void 
+ gfx_roto_surface_size(width, height, angle, zoom, dstwidth, dstheight)
+ 	int width
+ 	int height
+ 	double angle
+ 	double zoom
+ 	int *dstwidth
+ 	int *dstheight
+ 	CODE:
+ 		rotozoomSurfaceSize(width, height, angle, zoom, dstwidth, dstheight);
+
+
+ +
+

surface_size_xy

+
+
 void 
+ gfx_roto_surface_size_xy(width, height, angle, zoomx, zoomy, dstwidth, dstheight)
+ 	int width
+ 	int height
+ 	double angle
+ 	double zoomx
+ 	double zoomy
+ 	int *dstwidth
+ 	int *dstheight
+ 	CODE:
+ 		rotozoomSurfaceSizeXY(width, height, angle, zoomx, zoomy, dstwidth, dstheight);
+
+
+ +
+

zoom_surface

+
+
 SDL_Surface *
+ gfx_roto_zoom_surface(src, zoomx, zoomy, smooth)
+ 	SDL_Surface * src
+ 	double zoomx
+ 	double zoomy
+ 	int smooth
+ 	PREINIT:
+ 		char *CLASS = "SDL::Surface";
+ 	CODE:
+ 		RETVAL = zoomSurface(src, zoomx, zoomy, smooth);
+ 	OUTPUT:
+ 		RETVAL
+
+
+ +
+

zoom_surface_size

+
+
 void
+ gfx_roto_zoom_surface_size(width, height, zoomx, zoomy, dstwidth, dstheight)
+ 	int width
+ 	int height
+ 	double zoomx
+ 	double zoomy
+ 	int *dstwidth
+ 	int *dstheight
+ 	CODE:
+ 		zoomSurfaceSize(width, height, zoomx, zoomy, dstwidth, dstheight);
+
+
+ +
+

shrink_surface

+
+
 SDL_Surface *
+ gfx_roto_shrink_surface(src, factorx, factory)
+ 	SDL_Surface * src
+ 	int factorx
+ 	int factory
+ 	PREINIT:
+ 		char *CLASS = "SDL::Surface";
+ 	CODE:
+ 		RETVAL = shrinkSurface(src, factorx, factory);
+ 	OUTPUT:
+ 		RETVAL
+
+
+ +
+

rotate_surface_90_degrees

+
+
 SDL_Surface *
+ gfx_roto_rotate_surface_90_degrees(pSurf, numClockwiseTurns)
+ 	SDL_Surface* pSurf
+ 	int numClockwiseTurns
+ 	PREINIT:
+ 		char *CLASS = "SDL::Surface";
+ 	CODE:
+ 		RETVAL = rotateSurface90Degrees(pSurf, numClockwiseTurns);
+ 	OUTPUT:
+ 		RETVAL
+
+
+ +
+

AUTHORS

Top

+
+

See AUTHORS in SDL.

+ + + +
\ No newline at end of file