3 <h3 id="TOP">Index</h3>
5 <ul><li><a href="#NAME">NAME</a></li>
6 <li><a href="#CATEGORY">CATEGORY</a></li>
7 <li><a href="#CONSTANTS">CONSTANTS</a></li>
8 <li><a href="#METHODS">METHODS</a>
9 <ul><li><a href="#surface">surface</a></li>
10 <li><a href="#surface_xy">surface_xy</a></li>
11 <li><a href="#surface_size">surface_size</a></li>
12 <li><a href="#surface_size_xy">surface_size_xy</a></li>
13 <li><a href="#zoom_surface">zoom_surface</a></li>
14 <li><a href="#zoom_surface_size">zoom_surface_size</a></li>
15 <li><a href="#shrink_surface">shrink_surface</a></li>
16 <li><a href="#rotate_surface_90_degrees">rotate_surface_90_degrees</a></li>
19 <li><a href="#AUTHORS">AUTHORS</a>
24 <h1 id="NAME">NAME</h1><p><a href="#TOP" class="toplink">Top</a></p>
25 <div id="NAME_CONTENT">
26 <p>SDL::GFX::Rotozoom - rotation and zooming functions for surfaces</p>
29 <h1 id="CATEGORY">CATEGORY</h1><p><a href="#TOP" class="toplink">Top</a></p>
30 <div id="CATEGORY_CONTENT">
34 <h1 id="CONSTANTS">CONSTANTS</h1><p><a href="#TOP" class="toplink">Top</a></p>
35 <div id="CONSTANTS_CONTENT">
36 <p>The constants are not exported by default. You can export them into your namespace by doing:</p>
37 <pre> use SDL::GFX::Rotozoom ':all';
40 <p>or access them directly:</p>
41 <pre> SDL::GFX::Rotozoom::SMOOTHING_OFF;
44 <p>or by choosing the export tags below:</p>
45 <p>Export tag: ':smoothing'</p>
52 <h1 id="METHODS">METHODS</h1><p><a href="#TOP" class="toplink">Top</a></p>
53 <div id="METHODS_CONTENT">
56 <h2 id="surface">surface</h2>
57 <div id="surface_CONTENT">
59 gfx_roto_surface(src, angle, zoom, smooth)
65 char *CLASS = "SDL::Surface";
67 RETVAL = rotozoomSurface(src, angle, zoom, smooth);
74 <h2 id="surface_xy">surface_xy</h2>
75 <div id="surface_xy_CONTENT">
77 gfx_roto_surface_xy(src, angle, zoomx, zoomy, smooth)
84 char *CLASS = "SDL::Surface";
86 RETVAL = rotozoomSurfaceXY(src, angle, zoomx, zoomy, smooth);
93 <h2 id="surface_size">surface_size</h2>
94 <div id="surface_size_CONTENT">
96 gfx_roto_surface_size(width, height, angle, zoom, dstwidth, dstheight)
104 rotozoomSurfaceSize(width, height, angle, zoom, dstwidth, dstheight);
109 <h2 id="surface_size_xy">surface_size_xy</h2>
110 <div id="surface_size_xy_CONTENT">
112 gfx_roto_surface_size_xy(width, height, angle, zoomx, zoomy, dstwidth, dstheight)
121 rotozoomSurfaceSizeXY(width, height, angle, zoomx, zoomy, dstwidth, dstheight);
126 <h2 id="zoom_surface">zoom_surface</h2>
127 <div id="zoom_surface_CONTENT">
129 gfx_roto_zoom_surface(src, zoomx, zoomy, smooth)
135 char *CLASS = "SDL::Surface";
137 RETVAL = zoomSurface(src, zoomx, zoomy, smooth);
144 <h2 id="zoom_surface_size">zoom_surface_size</h2>
145 <div id="zoom_surface_size_CONTENT">
147 gfx_roto_zoom_surface_size(width, height, zoomx, zoomy, dstwidth, dstheight)
155 zoomSurfaceSize(width, height, zoomx, zoomy, dstwidth, dstheight);
160 <h2 id="shrink_surface">shrink_surface</h2>
161 <div id="shrink_surface_CONTENT">
163 gfx_roto_shrink_surface(src, factorx, factory)
168 char *CLASS = "SDL::Surface";
170 RETVAL = shrinkSurface(src, factorx, factory);
177 <h2 id="rotate_surface_90_degrees">rotate_surface_90_degrees</h2>
178 <div id="rotate_surface_90_degrees_CONTENT">
180 gfx_roto_rotate_surface_90_degrees(pSurf, numClockwiseTurns)
182 int numClockwiseTurns
184 char *CLASS = "SDL::Surface";
186 RETVAL = rotateSurface90Degrees(pSurf, numClockwiseTurns);
193 <h1 id="AUTHORS">AUTHORS</h1><p><a href="#TOP" class="toplink">Top</a></p>
194 <div id="AUTHORS_CONTENT">
195 <p>See <a href="/SDL.html#AUTHORS">/SDL.html#AUTHORS</a>.</p>