C# Class Eto.Direct2D.Conversions

Direct2D conversions. This file is part of the Direct2D platform library and is also linked into the Xaml platform library.
Datei anzeigen Open project: picoe/Eto

Public Methods

Method Description
Convert ( FontStyle value, SharpDX.DirectWrite &fontStyle, SharpDX.DirectWrite &fontWeight ) : void
DegreesToRadians ( float angle ) : float
IsBold ( this weight ) : bool
ToBitmap ( this bmp, System.Guid pixelFormat = null ) : SharpDX.WIC.Bitmap
ToDx ( this image, SharpDX.Direct2D1 target, Eto.Drawing.Size fittingSize = null ) : SharpDX.Direct2D1.Bitmap
ToDx ( this value ) : SharpDX.Direct2D1.BitmapInterpolationMode
ToDx ( this brush, SharpDX.Direct2D1 target ) : SharpDX.Direct2D1.Brush
ToDx ( this lineCap ) : SharpDX.Direct2D1.CapStyle
ToDx ( this color ) : SharpDX.Color4
ToDx ( this d ) : SharpDX.Direct2D1.DashStyle
ToDx ( this value ) : SharpDX.Direct2D1.ExtendMode
ToDx ( this f ) : SharpDX.Direct2D1.FillMode
ToDx ( this lineJoin ) : SharpDX.Direct2D1.LineJoin
ToDx ( this m ) : SharpDX.Matrix3x2
ToDx ( this format ) : SharpDX.Direct2D1.PixelFormat
ToDx ( this value ) : SharpDX.Rectangle
ToDx ( this value ) : SharpDX.RectangleF
ToDx ( this value ) : SharpDX.Size2
ToDx ( this value ) : SharpDX.Size2F
ToDx ( this value ) : SharpDX.Vector2
ToDx ( this points ) : SharpDX.Vector2[]
ToDxColor ( this color ) : SharpDX.Color
ToDxF ( this value ) : SharpDX.RectangleF
ToEto ( this value ) : Color
ToEto ( this d ) : DashStyle
ToEto ( this f ) : FillMode
ToEto ( this m ) : IMatrix
ToEto ( this value ) : ImageInterpolation
ToEto ( this value ) : Point
ToEto ( this value ) : Eto.Drawing.Rectangle
ToEto ( this value ) : Eto.Drawing.Size
ToEto ( this value ) : Eto.Drawing.SizeF
ToEtoF ( this value ) : Eto.Drawing.RectangleF
ToEtoStyle ( this font ) : FontStyle
ToGeometry ( this path ) : SharpDX.Direct2D1.Geometry
ToHandler ( this path ) : Eto.Direct2D.Drawing.GraphicsPathHandler
ToPenData ( this pen ) : Eto.Direct2D.Drawing.PenData
ToSD ( this bmp ) : System.Drawing.Bitmap
ToSDPixelFormat ( this pixelFormat ) : System.Drawing.Imaging.PixelFormat
ToWic ( this format ) : System.Guid
ToWic ( this image ) : SharpDX.WIC.Bitmap
ToWpfMneumonic ( this value ) : string

Method Details

Convert() public static method

public static Convert ( FontStyle value, SharpDX.DirectWrite &fontStyle, SharpDX.DirectWrite &fontWeight ) : void
value FontStyle
fontStyle SharpDX.DirectWrite
fontWeight SharpDX.DirectWrite
return void

DegreesToRadians() public static method

public static DegreesToRadians ( float angle ) : float
angle float
return float

IsBold() public static method

public static IsBold ( this weight ) : bool
weight this
return bool

ToBitmap() public static method

public static ToBitmap ( this bmp, System.Guid pixelFormat = null ) : SharpDX.WIC.Bitmap
bmp this
pixelFormat System.Guid
return SharpDX.WIC.Bitmap

ToDx() public static method

public static ToDx ( this image, SharpDX.Direct2D1 target, Eto.Drawing.Size fittingSize = null ) : SharpDX.Direct2D1.Bitmap
image this
target SharpDX.Direct2D1
fittingSize Eto.Drawing.Size
return SharpDX.Direct2D1.Bitmap

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Direct2D1.BitmapInterpolationMode
value this
return SharpDX.Direct2D1.BitmapInterpolationMode

ToDx() public static method

public static ToDx ( this brush, SharpDX.Direct2D1 target ) : SharpDX.Direct2D1.Brush
brush this
target SharpDX.Direct2D1
return SharpDX.Direct2D1.Brush

ToDx() public static method

public static ToDx ( this lineCap ) : SharpDX.Direct2D1.CapStyle
lineCap this
return SharpDX.Direct2D1.CapStyle

ToDx() public static method

public static ToDx ( this color ) : SharpDX.Color4
color this
return SharpDX.Color4

ToDx() public static method

public static ToDx ( this d ) : SharpDX.Direct2D1.DashStyle
d this
return SharpDX.Direct2D1.DashStyle

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Direct2D1.ExtendMode
value this
return SharpDX.Direct2D1.ExtendMode

ToDx() public static method

public static ToDx ( this f ) : SharpDX.Direct2D1.FillMode
f this
return SharpDX.Direct2D1.FillMode

ToDx() public static method

public static ToDx ( this lineJoin ) : SharpDX.Direct2D1.LineJoin
lineJoin this
return SharpDX.Direct2D1.LineJoin

ToDx() public static method

public static ToDx ( this m ) : SharpDX.Matrix3x2
m this
return SharpDX.Matrix3x2

ToDx() public static method

public static ToDx ( this format ) : SharpDX.Direct2D1.PixelFormat
format this
return SharpDX.Direct2D1.PixelFormat

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Rectangle
value this
return SharpDX.Rectangle

ToDx() public static method

public static ToDx ( this value ) : SharpDX.RectangleF
value this
return SharpDX.RectangleF

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Size2
value this
return SharpDX.Size2

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Size2F
value this
return SharpDX.Size2F

ToDx() public static method

public static ToDx ( this value ) : SharpDX.Vector2
value this
return SharpDX.Vector2

ToDx() public static method

public static ToDx ( this points ) : SharpDX.Vector2[]
points this
return SharpDX.Vector2[]

ToDxColor() public static method

public static ToDxColor ( this color ) : SharpDX.Color
color this
return SharpDX.Color

ToDxF() public static method

public static ToDxF ( this value ) : SharpDX.RectangleF
value this
return SharpDX.RectangleF

ToEto() public static method

public static ToEto ( this value ) : Color
value this
return Color

ToEto() public static method

public static ToEto ( this d ) : DashStyle
d this
return DashStyle

ToEto() public static method

public static ToEto ( this f ) : FillMode
f this
return FillMode

ToEto() public static method

public static ToEto ( this m ) : IMatrix
m this
return IMatrix

ToEto() public static method

public static ToEto ( this value ) : ImageInterpolation
value this
return ImageInterpolation

ToEto() public static method

public static ToEto ( this value ) : Point
value this
return Point

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.Rectangle
value this
return Eto.Drawing.Rectangle

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.Size
value this
return Eto.Drawing.Size

ToEto() public static method

public static ToEto ( this value ) : Eto.Drawing.SizeF
value this
return Eto.Drawing.SizeF

ToEtoF() public static method

public static ToEtoF ( this value ) : Eto.Drawing.RectangleF
value this
return Eto.Drawing.RectangleF

ToEtoStyle() public static method

public static ToEtoStyle ( this font ) : FontStyle
font this
return FontStyle

ToGeometry() public static method

public static ToGeometry ( this path ) : SharpDX.Direct2D1.Geometry
path this
return SharpDX.Direct2D1.Geometry

ToHandler() public static method

public static ToHandler ( this path ) : Eto.Direct2D.Drawing.GraphicsPathHandler
path this
return Eto.Direct2D.Drawing.GraphicsPathHandler

ToPenData() public static method

public static ToPenData ( this pen ) : Eto.Direct2D.Drawing.PenData
pen this
return Eto.Direct2D.Drawing.PenData

ToSD() public static method

public static ToSD ( this bmp ) : System.Drawing.Bitmap
bmp this
return System.Drawing.Bitmap

ToSDPixelFormat() public static method

public static ToSDPixelFormat ( this pixelFormat ) : System.Drawing.Imaging.PixelFormat
pixelFormat this
return System.Drawing.Imaging.PixelFormat

ToWic() public static method

public static ToWic ( this format ) : System.Guid
format this
return System.Guid

ToWic() public static method

public static ToWic ( this image ) : SharpDX.WIC.Bitmap
image this
return SharpDX.WIC.Bitmap

ToWpfMneumonic() public static method

public static ToWpfMneumonic ( this value ) : string
value this
return string