Tao.Sdl.Smpeg.SMPEG_double C# (CSharp) Method

SMPEG_double() public static method

Scale pixel display on an SMPEG object

Binds to a C-function call in smpeg.h //#define SMPEG_double(mpeg, on) \ SMPEG_scale(mpeg, (on) ? 2 : 1)

public static SMPEG_double ( IntPtr mpeg, int on ) : void
mpeg System.IntPtr Handle to MPEG file.
on int
return void
		public static void SMPEG_double( IntPtr mpeg, int on )
		{
			if (on != 0)
			{
				Smpeg.SMPEG_scale(mpeg, 2);
			}
			else
			{
				Smpeg.SMPEG_scale(mpeg, 1);
			}
		}
		#endregion void SMPEG_double( IntPtr mpeg, int on )