C# Class Sharpex2D.Rendering.DirectX10.DirectXHelper

Show file Open project: ThuCommix/Sharpex2D Class Usage Examples

Private Properties

Property Type Description
ConvertRectangle System.Drawing.Rectangle
ConvertRectangleF System.Drawing.RectangleF

Public Methods

Method Description
ConvertColor ( Color value ) : SlimDX.Color4

Converts the Color.

ConvertEllipse ( Math ellipse ) : Ellipse

Converts the Rectangle.

ConvertPointF ( Sharpex2D.Math.Vector2 target ) : PointF

Converts the Vector2.

ConvertSolidColorBrush ( Color color ) : SlimDX.Direct2D.Brush

Converts the SolidColorBrush.

ConvertVector ( Sharpex2D.Math.Vector2 p0 ) : PointF

Converts the Vector2.

Private Methods

Method Description
ConvertRectangle ( Math rectangle ) : Rectangle

Converts the Rectangle.

ConvertRectangleF ( Math rectangle ) : RectangleF

Converts the Rectangle.

Method Details

ConvertColor() public static method

Converts the Color.
public static ConvertColor ( Color value ) : SlimDX.Color4
value System.Drawing.Color The Color.
return SlimDX.Color4

ConvertEllipse() public static method

Converts the Rectangle.
public static ConvertEllipse ( Math ellipse ) : Ellipse
ellipse Math The Ellipse.
return Ellipse

ConvertPointF() public static method

Converts the Vector2.
public static ConvertPointF ( Sharpex2D.Math.Vector2 target ) : PointF
target Sharpex2D.Math.Vector2 The Vector.
return System.Drawing.PointF

ConvertSolidColorBrush() public static method

Converts the SolidColorBrush.
public static ConvertSolidColorBrush ( Color color ) : SlimDX.Direct2D.Brush
color System.Drawing.Color The Color.
return SlimDX.Direct2D.Brush

ConvertVector() public static method

Converts the Vector2.
public static ConvertVector ( Sharpex2D.Math.Vector2 p0 ) : PointF
p0 Sharpex2D.Math.Vector2 The Vector2.
return System.Drawing.PointF