C# Class Eto.WinForms.WinConversions

Mostrar archivo Open project: picoe/Eto

Public Methods

Method Description
BitsPerPixel ( this format ) : int
IsResizable ( this style ) : bool
ToEto ( this value ) : ButtonImagePosition
ToEto ( this state ) : CellStates
ToEto ( this color ) : Color
ToEto ( this result ) : DialogResult
ToEto ( this alignment ) : DockPosition
ToEto ( this font ) : Font
ToEto ( this family ) : FontFamily
ToEto ( this wrapMode ) : GradientWrapMode
ToEto ( this g, bool dispose ) : Graphics

Convert native graphics to eto wrapper

ToEto ( this matrix ) : IMatrix
ToEto ( this treeNode ) : ITreeItem
ToEto ( this value ) : ImageInterpolation
ToEto ( this button ) : MouseButtons
ToEto ( this e, System.Windows.Forms control ) : MouseEventArgs
ToEto ( this padding ) : Padding
ToEto ( this value ) : PenLineCap
ToEto ( this value ) : PenLineJoin
ToEto ( this mode ) : PixelOffsetMode
ToEto ( this point ) : Point
ToEto ( this point ) : PointF
ToEto ( this value ) : PrintSelection
ToEto ( this settings ) : Eto.Forms.PrintSettings
ToEto ( this range ) : Range
ToEto ( this rect ) : Rectangle
ToEto ( this rect ) : RectangleF
ToEto ( this screen ) : Screen
ToEto ( this size ) : Size
ToEto ( this size ) : SizeF
ToEto ( this align ) : TextAlignment
ToEto ( this style ) : WindowStyle
ToEtoDecoration ( this style ) : FontDecoration
ToEtoF ( this size ) : Size
ToEtoStyle ( this style ) : FontStyle
ToSD ( this brush, RectangleF bounds ) : Brush
ToSD ( this color ) : Color
ToSD ( this font ) : Font
ToSD ( this family ) : FontFamily
ToSD ( this style ) : System.Drawing.FontStyle
ToSD ( this graphics ) : Graphics
ToSD ( this path ) : GraphicsPath
ToSD ( this image, int size = null ) : Image
ToSD ( this format ) : ImageFormat
ToSD ( this value ) : System.Drawing.Drawing2D.InterpolationMode
ToSD ( this value ) : System.Drawing.Drawing2D.LineCap
ToSD ( this value ) : System.Drawing.Drawing2D.LineJoin
ToSD ( this m ) : Matrix
ToSD ( this pen ) : Pen
ToSD ( this mode ) : System.Drawing.Drawing2D.PixelOffsetMode
ToSD ( this point ) : PointF
ToSD ( this document ) : System.Drawing.Printing.PrintDocument
ToSD ( this settings ) : System.Drawing.Printing.PrinterSettings
ToSD ( this rect ) : Rectangle
ToSD ( this rect ) : RectangleF
ToSD ( this size ) : Size
ToSD ( this size ) : SizeF
ToSD ( this value ) : System.Windows.Forms.TextImageRelation
ToSD ( this wrap ) : System.Drawing.Drawing2D.WrapMode
ToSDP ( this value ) : System.Drawing.Printing.PrintRange
ToSDPoint ( this point ) : Point
ToSDRectangle ( this rect ) : Rectangle
ToSWF ( this window ) : Form
ToSWF ( this style, bool resizable, System.Windows.Forms defaultStyle ) : System.Windows.Forms.FormBorderStyle
ToSWF ( this align ) : System.Windows.Forms.HorizontalAlignment
ToSWF ( this padding ) : Padding
ToSWF ( this range ) : System.Windows.Forms.SelectionRange
ToSWF ( this position ) : System.Windows.Forms.TabAlignment

Private Methods

Method Description
ToEto ( this points ) : PointF[]
ToSD ( this points ) : System.Drawing.PointF[]
ToSD ( this points ) : System.Drawing.Point[]

Method Details

BitsPerPixel() public static method

public static BitsPerPixel ( this format ) : int
format this
return int

IsResizable() public static method

public static IsResizable ( this style ) : bool
style this
return bool

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this state ) : CellStates
state this
return CellStates

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this result ) : DialogResult
result this
return DialogResult

ToEto() public static method

public static ToEto ( this alignment ) : DockPosition
alignment this
return DockPosition

ToEto() public static method

public static ToEto ( this font ) : Font
font this
return Font

ToEto() public static method

public static ToEto ( this family ) : FontFamily
family this
return System.Drawing.FontFamily

ToEto() public static method

public static ToEto ( this wrapMode ) : GradientWrapMode
wrapMode this
return GradientWrapMode

ToEto() public static method

Convert native graphics to eto wrapper
public static ToEto ( this g, bool dispose ) : Graphics
g this Native graphics
dispose bool Pass ownership and dispose native graphics in Dispose
return Graphics

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this treeNode ) : ITreeItem
treeNode this
return ITreeItem

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this button ) : MouseButtons
button this
return MouseButtons

ToEto() public static method

public static ToEto ( this e, System.Windows.Forms control ) : MouseEventArgs
e this
control System.Windows.Forms
return MouseEventArgs

ToEto() public static method

public static ToEto ( this padding ) : Padding
padding this
return Padding

ToEto() public static method

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

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this mode ) : PixelOffsetMode
mode this
return PixelOffsetMode

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this point ) : PointF
point this
return PointF

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this settings ) : Eto.Forms.PrintSettings
settings this
return Eto.Forms.PrintSettings

ToEto() public static method

public static ToEto ( this range ) : Range
range this
return Range

ToEto() public static method

public static ToEto ( this rect ) : Rectangle
rect this
return Rectangle

ToEto() public static method

public static ToEto ( this rect ) : RectangleF
rect this
return RectangleF

ToEto() public static method

public static ToEto ( this screen ) : Screen
screen this
return Screen

ToEto() public static method

public static ToEto ( this size ) : Size
size this
return Size

ToEto() public static method

public static ToEto ( this size ) : SizeF
size this
return SizeF

ToEto() public static method

public static ToEto ( this align ) : TextAlignment
align this
return TextAlignment

ToEto() public static method

public static ToEto ( this style ) : WindowStyle
style this
return WindowStyle

ToEtoDecoration() public static method

public static ToEtoDecoration ( this style ) : FontDecoration
style this
return FontDecoration

ToEtoF() public static method

public static ToEtoF ( this size ) : Size
size this
return Size

ToEtoStyle() public static method

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

ToSD() public static method

public static ToSD ( this brush, RectangleF bounds ) : Brush
brush this
bounds RectangleF
return System.Drawing.Brush

ToSD() public static method

public static ToSD ( this color ) : Color
color this
return System.Drawing.Color

ToSD() public static method

public static ToSD ( this font ) : Font
font this
return System.Drawing.Font

ToSD() public static method

public static ToSD ( this family ) : FontFamily
family this
return System.Drawing.FontFamily

ToSD() public static method

public static ToSD ( this style ) : System.Drawing.FontStyle
style this
return System.Drawing.FontStyle

ToSD() public static method

public static ToSD ( this graphics ) : Graphics
graphics this
return System.Drawing.Graphics

ToSD() public static method

public static ToSD ( this path ) : GraphicsPath
path this
return System.Drawing.Drawing2D.GraphicsPath

ToSD() public static method

public static ToSD ( this image, int size = null ) : Image
image this
size int
return System.Drawing.Image

ToSD() public static method

public static ToSD ( this format ) : ImageFormat
format this
return System.Drawing.Imaging.ImageFormat

ToSD() public static method

public static ToSD ( this value ) : System.Drawing.Drawing2D.InterpolationMode
value this
return System.Drawing.Drawing2D.InterpolationMode

ToSD() public static method

public static ToSD ( this value ) : System.Drawing.Drawing2D.LineCap
value this
return System.Drawing.Drawing2D.LineCap

ToSD() public static method

public static ToSD ( this value ) : System.Drawing.Drawing2D.LineJoin
value this
return System.Drawing.Drawing2D.LineJoin

ToSD() public static method

public static ToSD ( this m ) : Matrix
m this
return System.Drawing.Drawing2D.Matrix

ToSD() public static method

public static ToSD ( this pen ) : Pen
pen this
return System.Drawing.Pen

ToSD() public static method

public static ToSD ( this mode ) : System.Drawing.Drawing2D.PixelOffsetMode
mode this
return System.Drawing.Drawing2D.PixelOffsetMode

ToSD() public static method

public static ToSD ( this point ) : PointF
point this
return System.Drawing.PointF

ToSD() public static method

public static ToSD ( this document ) : System.Drawing.Printing.PrintDocument
document this
return System.Drawing.Printing.PrintDocument

ToSD() public static method

public static ToSD ( this settings ) : System.Drawing.Printing.PrinterSettings
settings this
return System.Drawing.Printing.PrinterSettings

ToSD() public static method

public static ToSD ( this rect ) : Rectangle
rect this
return System.Drawing.Rectangle

ToSD() public static method

public static ToSD ( this rect ) : RectangleF
rect this
return System.Drawing.RectangleF

ToSD() public static method

public static ToSD ( this size ) : Size
size this
return System.Drawing.Size

ToSD() public static method

public static ToSD ( this size ) : SizeF
size this
return System.Drawing.SizeF

ToSD() public static method

public static ToSD ( this value ) : System.Windows.Forms.TextImageRelation
value this
return System.Windows.Forms.TextImageRelation

ToSD() public static method

public static ToSD ( this wrap ) : System.Drawing.Drawing2D.WrapMode
wrap this
return System.Drawing.Drawing2D.WrapMode

ToSDP() public static method

public static ToSDP ( this value ) : System.Drawing.Printing.PrintRange
value this
return System.Drawing.Printing.PrintRange

ToSDPoint() public static method

public static ToSDPoint ( this point ) : Point
point this
return System.Drawing.Point

ToSDRectangle() public static method

public static ToSDRectangle ( this rect ) : Rectangle
rect this
return System.Drawing.Rectangle

ToSWF() public static method

public static ToSWF ( this window ) : Form
window this
return System.Windows.Forms.Form

ToSWF() public static method

public static ToSWF ( this style, bool resizable, System.Windows.Forms defaultStyle ) : System.Windows.Forms.FormBorderStyle
style this
resizable bool
defaultStyle System.Windows.Forms
return System.Windows.Forms.FormBorderStyle

ToSWF() public static method

public static ToSWF ( this align ) : System.Windows.Forms.HorizontalAlignment
align this
return System.Windows.Forms.HorizontalAlignment

ToSWF() public static method

public static ToSWF ( this padding ) : Padding
padding this
return System.Windows.Forms.Padding

ToSWF() public static method

public static ToSWF ( this range ) : System.Windows.Forms.SelectionRange
range this
return System.Windows.Forms.SelectionRange

ToSWF() public static method

public static ToSWF ( this position ) : System.Windows.Forms.TabAlignment
position this
return System.Windows.Forms.TabAlignment