C# Class CrisisAtSwissStation.Common.Conversion

Afficher le fichier Open project: danielpcox/Crisis-at-Swiss-Station

Méthodes publiques

Méthode Description
DrawPointToVector2 ( System toConvert ) : Microsoft.Xna.Framework.Vector2
PointToPoint ( System pt ) : Microsoft.Xna.Framework.Point
PointToPoint ( Microsoft pt ) : System.Drawing.Point
RectToRect ( Microsoft rect ) : System.Drawing.RectangleF
Vector2ToDrawPoint ( Microsoft toConvert ) : System.Drawing.Point
Vector2ToXnaPoint ( Microsoft toConvert ) : Microsoft.Xna.Framework.Point

Method Details

DrawPointToVector2() public static méthode

public static DrawPointToVector2 ( System toConvert ) : Microsoft.Xna.Framework.Vector2
toConvert System
Résultat Microsoft.Xna.Framework.Vector2

PointToPoint() public static méthode

public static PointToPoint ( System pt ) : Microsoft.Xna.Framework.Point
pt System
Résultat Microsoft.Xna.Framework.Point

PointToPoint() public static méthode

public static PointToPoint ( Microsoft pt ) : System.Drawing.Point
pt Microsoft
Résultat System.Drawing.Point

RectToRect() public static méthode

public static RectToRect ( Microsoft rect ) : System.Drawing.RectangleF
rect Microsoft
Résultat System.Drawing.RectangleF

Vector2ToDrawPoint() public static méthode

public static Vector2ToDrawPoint ( Microsoft toConvert ) : System.Drawing.Point
toConvert Microsoft
Résultat System.Drawing.Point

Vector2ToXnaPoint() public static méthode

public static Vector2ToXnaPoint ( Microsoft toConvert ) : Microsoft.Xna.Framework.Point
toConvert Microsoft
Résultat Microsoft.Xna.Framework.Point