Tao.Sdl SDK Documentation

SdlGfx.zoomSurface Method 

Zooms a 32bit or 8bit 'src' surface to newly created 'dst' surface. 'zoomx' and 'zoomy' are scaling factors for width and height. 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 zoomSurface( _
   ByVal src As IntPtr, _
   ByVal zoomx As Double, _
   ByVal zoomy As Double, _
   ByVal smooth As Integer _
) As IntPtr
[C#]
public static IntPtr zoomSurface(
   IntPtr src,
   double zoomx,
   double zoomy,
   int smooth
);

Parameters

src
zoomx
zoomy
smooth

Return Value

See Also

SdlGfx Class | Tao.Sdl Namespace