NSGraphicsContext.FromGraphicsPort Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| FromGraphicsPort(IntPtr, Boolean) | |
| FromGraphicsPort(CGContext, Boolean) |
FromGraphicsPort(IntPtr, Boolean)
[Foundation.Export("graphicsContextWithGraphicsPort:flipped:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static AppKit.NSGraphicsContext FromGraphicsPort(IntPtr graphicsPort, bool initialFlippedState);
[<Foundation.Export("graphicsContextWithGraphicsPort:flipped:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromGraphicsPort : nativeint * bool -> AppKit.NSGraphicsContext
Parameters
- graphicsPort
-
IntPtr
nativeint
- initialFlippedState
- Boolean
Returns
- Attributes