Düzenle

Aracılığıyla paylaş


NSGraphicsContext.FromGraphicsPort Method

Definition

Overloads

FromGraphicsPort(IntPtr, Boolean)
FromGraphicsPort(CGContext, Boolean)

FromGraphicsPort(IntPtr, Boolean)

[Foundation.Export("graphicsContextWithGraphicsPort:flipped:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.None, "Use 'FromCGContext' instead.")]
public static AppKit.NSGraphicsContext FromGraphicsPort (IntPtr graphicsPort, bool initialFlippedState);
static member FromGraphicsPort : nativeint * bool -> AppKit.NSGraphicsContext

Parameters

graphicsPort
IntPtr

nativeint

initialFlippedState
Boolean

Returns

Attributes

Applies to

FromGraphicsPort(CGContext, Boolean)

public static AppKit.NSGraphicsContext FromGraphicsPort (CoreGraphics.CGContext context, bool initialFlippedState);
static member FromGraphicsPort : CoreGraphics.CGContext * bool -> AppKit.NSGraphicsContext

Parameters

context
CGContext
initialFlippedState
Boolean

Returns

Applies to