C# Class Eto.Mac.MacConversions

Datei anzeigen Open project: picoe/Eto

Public Methods

Method Description
GetLocation ( MonoMac.AppKit.NSView view, NSEvent theEvent ) : PointF
GetMouseButtons ( this theEvent ) : MouseButtons
GetMouseEvent ( MonoMac.AppKit.NSView view, NSEvent theEvent, bool includeWheel ) : MouseEventArgs
ToCG ( this image ) : CGImage
ToEto ( this value ) : ButtonImagePosition
ToEto ( this mode ) : CalendarMode
ToEto ( this color, bool calibrated = true ) : System.Color
ToEto ( this type ) : DockPosition
ToEto ( this font ) : Font
ToEto ( this traits ) : FontStyle
ToEto ( this value ) : ImageInterpolation
ToEto ( this value ) : PageOrientation
ToEto ( this value ) : PrintSettings
ToEto ( this range ) : Range
ToEto ( this align ) : TextAlignment
ToEtoKeyEventArgs ( this theEvent ) : KeyEventArgs
ToEtoSize ( this insets ) : SizeF
ToEtoWindowStyle ( this style ) : WindowStyle
ToNS ( this value ) : NSCellImagePosition
ToNS ( this mode ) : NSDatePickerMode
ToNS ( this font ) : NSFont
ToNS ( this style ) : NSFontTraitMask
ToNS ( this image, int size = null ) : MonoMac.AppKit.NSImage
ToNS ( this value ) : NSImageInterpolation
ToNS ( this settings ) : NSPrintInfo
ToNS ( this value ) : NSPrintingOrientation
ToNS ( this range ) : MonoMac.Foundation.NSRange
ToNS ( this position ) : NSTabViewType
ToNS ( this align ) : NSTextAlignment
ToNS ( this style, NSWindowStyle existing ) : NSWindowStyle
ToNSUI ( this color ) : MonoMac.AppKit.NSColor

Method Details

GetLocation() public static method

public static GetLocation ( MonoMac.AppKit.NSView view, NSEvent theEvent ) : PointF
view MonoMac.AppKit.NSView
theEvent NSEvent
return PointF

GetMouseButtons() public static method

public static GetMouseButtons ( this theEvent ) : MouseButtons
theEvent this
return MouseButtons

GetMouseEvent() public static method

public static GetMouseEvent ( MonoMac.AppKit.NSView view, NSEvent theEvent, bool includeWheel ) : MouseEventArgs
view MonoMac.AppKit.NSView
theEvent NSEvent
includeWheel bool
return MouseEventArgs

ToCG() public static method

public static ToCG ( this image ) : CGImage
image this
return MonoMac.CoreGraphics.CGImage

ToEto() public static method

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

ToEto() public static method

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

ToEto() public static method

public static ToEto ( this color, bool calibrated = true ) : System.Color
color this
calibrated bool
return System.Color

ToEto() public static method

public static ToEto ( this type ) : DockPosition
type 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 traits ) : FontStyle
traits this
return FontStyle

ToEto() public static method

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

ToEto() public static method

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

ToEto() public static method

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

ToEto() public static method

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

ToEto() public static method

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

ToEtoKeyEventArgs() public static method

public static ToEtoKeyEventArgs ( this theEvent ) : KeyEventArgs
theEvent this
return KeyEventArgs

ToEtoSize() public static method

public static ToEtoSize ( this insets ) : SizeF
insets this
return SizeF

ToEtoWindowStyle() public static method

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

ToNS() public static method

public static ToNS ( this value ) : NSCellImagePosition
value this
return NSCellImagePosition

ToNS() public static method

public static ToNS ( this mode ) : NSDatePickerMode
mode this
return NSDatePickerMode

ToNS() public static method

public static ToNS ( this font ) : NSFont
font this
return NSFont

ToNS() public static method

public static ToNS ( this style ) : NSFontTraitMask
style this
return NSFontTraitMask

ToNS() public static method

public static ToNS ( this image, int size = null ) : MonoMac.AppKit.NSImage
image this
size int
return MonoMac.AppKit.NSImage

ToNS() public static method

public static ToNS ( this value ) : NSImageInterpolation
value this
return NSImageInterpolation

ToNS() public static method

public static ToNS ( this settings ) : NSPrintInfo
settings this
return NSPrintInfo

ToNS() public static method

public static ToNS ( this value ) : NSPrintingOrientation
value this
return NSPrintingOrientation

ToNS() public static method

public static ToNS ( this range ) : MonoMac.Foundation.NSRange
range this
return MonoMac.Foundation.NSRange

ToNS() public static method

public static ToNS ( this position ) : NSTabViewType
position this
return NSTabViewType

ToNS() public static method

public static ToNS ( this align ) : NSTextAlignment
align this
return NSTextAlignment

ToNS() public static method

public static ToNS ( this style, NSWindowStyle existing ) : NSWindowStyle
style this
existing NSWindowStyle
return NSWindowStyle

ToNSUI() public static method

public static ToNSUI ( this color ) : MonoMac.AppKit.NSColor
color this
return MonoMac.AppKit.NSColor