C# Class Eto.Mac.MacExtensions

These are extensions for missing methods in monomac/xamarin.mac, or incorrectly bound.
Once monomac/xam.mac supports these methods or are implemented properly, then remove from here.
Afficher le fichier Open project: picoe/Eto Class Usage Examples

Méthodes publiques

Méthode Description
BoundingRect ( this str, System.Drawing.SizeF size, NSStringDrawingOptions options ) : System.Drawing.RectangleF
DangerousRelease ( this obj ) : void
DangerousRetain ( this obj ) : void
DrawGlyphs ( this layout, MonoMac.Foundation.NSRange range, System.Drawing.PointF point ) : void
NSColorFromCGColor ( CGColor cgColor ) : MonoMac.AppKit.NSColor
NextEventEx ( this app, NSEventMask mask, MonoMac.Foundation.NSDate untilDate, NSString mode, bool dequeue ) : NSEvent
Release ( IntPtr handle ) : void
Retain ( IntPtr handle ) : void
ShouldChangeTextNew ( this textView, MonoMac.Foundation.NSRange affectedCharRange, string replacementString ) : bool

Method Details

BoundingRect() public static méthode

public static BoundingRect ( this str, System.Drawing.SizeF size, NSStringDrawingOptions options ) : System.Drawing.RectangleF
str this
size System.Drawing.SizeF
options NSStringDrawingOptions
Résultat System.Drawing.RectangleF

DangerousRelease() public static méthode

public static DangerousRelease ( this obj ) : void
obj this
Résultat void

DangerousRetain() public static méthode

public static DangerousRetain ( this obj ) : void
obj this
Résultat void

DrawGlyphs() public static méthode

public static DrawGlyphs ( this layout, MonoMac.Foundation.NSRange range, System.Drawing.PointF point ) : void
layout this
range MonoMac.Foundation.NSRange
point System.Drawing.PointF
Résultat void

NSColorFromCGColor() public static méthode

public static NSColorFromCGColor ( CGColor cgColor ) : MonoMac.AppKit.NSColor
cgColor MonoMac.CoreGraphics.CGColor
Résultat MonoMac.AppKit.NSColor

NextEventEx() public static méthode

public static NextEventEx ( this app, NSEventMask mask, MonoMac.Foundation.NSDate untilDate, NSString mode, bool dequeue ) : NSEvent
app this
mask NSEventMask
untilDate MonoMac.Foundation.NSDate
mode MonoMac.Foundation.NSString
dequeue bool
Résultat NSEvent

Release() public static méthode

public static Release ( IntPtr handle ) : void
handle System.IntPtr
Résultat void

Retain() public static méthode

public static Retain ( IntPtr handle ) : void
handle System.IntPtr
Résultat void

ShouldChangeTextNew() public static méthode

public static ShouldChangeTextNew ( this textView, MonoMac.Foundation.NSRange affectedCharRange, string replacementString ) : bool
textView this
affectedCharRange MonoMac.Foundation.NSRange
replacementString string
Résultat bool