C# Class Gonzo.Resolution

显示文件 Open project: Afr0Games/Project-Dollhouse

Public Methods

Method Description
BeginDraw ( ) : void

Sets the device to use the draw pump Sets correct aspect ratio

FullViewport ( ) : void
Init ( GraphicsDeviceManager &device ) : void
ResetViewport ( ) : void
SetResolution ( int Width, int Height, bool FullScreen ) : void
SetVirtualResolution ( int Width, int Height ) : void
getTransformationMatrix ( ) : Matrix
getVirtualAspectRatio ( ) : float

Get virtual Mode Aspect Ratio

Private Methods

Method Description
ApplyResolutionSettings ( ) : void
RecreateScaleMatrix ( ) : void

Method Details

BeginDraw() public static method

Sets the device to use the draw pump Sets correct aspect ratio
public static BeginDraw ( ) : void
return void

FullViewport() public static method

public static FullViewport ( ) : void
return void

Init() public static method

public static Init ( GraphicsDeviceManager &device ) : void
device GraphicsDeviceManager
return void

ResetViewport() public static method

public static ResetViewport ( ) : void
return void

SetResolution() public static method

public static SetResolution ( int Width, int Height, bool FullScreen ) : void
Width int
Height int
FullScreen bool
return void

SetVirtualResolution() public static method

public static SetVirtualResolution ( int Width, int Height ) : void
Width int
Height int
return void

getTransformationMatrix() public static method

public static getTransformationMatrix ( ) : Matrix
return Matrix

getVirtualAspectRatio() public static method

Get virtual Mode Aspect Ratio
public static getVirtualAspectRatio ( ) : float
return float