QuartzCore: NewCIContextMBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

NewCIContextMBS(cgcontext as CGContextMBS) as CIContextMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Create a new CoreImage context object without options, all output will be drawn into the CG context.

Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

Some examples using this global method:

NewCIContextMBS(cgcontext as CGContextMBS, OutputColorSpace as CGColorSpaceMBS, WorkingColorSpace as CGColorSpaceMBS, UseSoftwareRenderer as Boolean) as CIContextMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
global method CoreImage MBS MacCI Plugin 7.3 ✅ Yes ❌ No ❌ No ✅ Yes All
Create a new CoreImage context object with options, all output will be drawn into the CG context.

OutputColorSpace: A CGColorSpaceMBS object defining the color space in which all intermediate operations are performed.
WorkingColorSpace: A CGColorSpaceRef object defining the color space that images are converted to before rendering into the context.
UseSoftwareRenderer: Whether you want software renderer only.

Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

Some examples using this global method:

The items on this page are in the following plugins: MBS MacCI Plugin.


💬 Ask a question or report a problem