Tao.Sdl SDK Documentation

SdlGfx.rotozoomSurfaceXY Method 

Rotates and zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface. 'angle' is the rotation in degrees. 'zoomx' and 'zoomy' are scaling factors that can also be negative. In this case the corresponding axis is flipped. 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. Note: Flipping currently only works with antialiasing turned off.

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

Parameters

src
angle
zoomx
zoomy
smooth

Return Value

See Also

SdlGfx Class | Tao.Sdl Namespace