Tao.Sdl SDK Documentation

SdlGfx.rotozoomSurface Method 

Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. 'angle' is the rotation in degrees. 'zoom' a scaling factor. If 'smooth' is 1 then the destination 32bit surface is anti-aliased. If the surface is not 8bit or 32bit RGBA/ABGR it will be converted into a 32bit RGBA format on the fly.

[Visual Basic]
Public Shared Function rotozoomSurface( _
   ByVal src As IntPtr, _
   ByVal angle As Double, _
   ByVal zoom As Double, _
   ByVal smooth As Integer _
) As IntPtr
[C#]
public static IntPtr rotozoomSurface(
   IntPtr src,
   double angle,
   double zoom,
   int smooth
);

Parameters

src
angle
zoom
smooth

Return Value

See Also

SdlGfx Class | Tao.Sdl Namespace