MonobjcMonobjc Documented Class Library
ContextWithCGContextOptions Method (ctx, dict)
NamespacesMonobjc.QuartzCoreCIContextContextWithCGContextOptions(IntPtr, NSDictionary)

Creates a Core Image context from a Quartz context, using the specified options.

Original signature is '+ (CIContext *)contextWithCGContext:(CGContextRef)ctx options:(NSDictionary *)dict'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIContext ContextWithCGContextOptions(
	IntPtr ctx,
	NSDictionary dict
)
Public Shared Function ContextWithCGContextOptions ( _
	ctx As IntPtr, _
	dict As NSDictionary _
) As CIContext
public:
static CIContext^ ContextWithCGContextOptions(
	IntPtr ctx, 
	NSDictionary^ dict
)
Parameters
ctx (IntPtr)
A Quartz graphics context (CGContextRef object) either obtained from the system or created using a Quartz function such as CGBitmapContextCreate. See Quartz 2D Programming Guide for information on creating Quartz graphics contexts.
dict (NSDictionary)
A dictionary that contains color space information. You can provide the keys kCIContextOutputColorSpace or kCIContextWorkingColorSpace along with a CGColorSpaceRefobject for each color space.
Return Value

[Missing <returns> documentation for "M:Monobjc.QuartzCore.CIContext.ContextWithCGContextOptions(System.IntPtr,Monobjc.Foundation.NSDictionary)"]

Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)