MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

NewCIColorMBS(red as single, green as single, blue as single, alpha as single=1.0) as CIColorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new color based on the given values.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIColorWithCGColorMBS(CGColor as Variant) as CIColorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new CIColor based on the given CoreGraphics color.
Notes:
CGColor parameter must be a CGColorMBS object.
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIColorWithStringMBS(s as String) as CIColorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new CIColor based on the given string.
Example:
dim c as CIColorMBS

c=NewCIColorWithStringMBS("1 0.5 0 1")

MsgBox c.stringRepresentation // shows "1 0.5 0 1"
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIContextMBS(cgcontext as CGContextMBS) as CIContextMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Create a new CoreImage context object without options, all output will be drawn into the CG context.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

Some examples using this method:

NewCIContextMBS(cgcontext as CGContextMBS, OutputColorSpace as CGColorSpaceMBS, WorkingColorSpace as CGColorSpaceMBS, UseSoftwareRenderer as Boolean) as CIContextMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Create a new CoreImage context object with options, all output will be drawn into the CG context.
Notes:
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 method:

NewCIImagewithBitmapDataMBS(data as memoryblock, BytesPerRow as Integer, Width as Integer, Height as Integer, Format as Integer, colorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage from a RAW memory buffer.
Notes:
Format must be one of this constants: kCIFormatRGBAf, kCIFormatRGBA16 and kCIFormatARGB8.

Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIImagewithBitmapMemoryMBS(data as memoryblock, DataLength as Integer, BytesPerRow as Integer, Width as Integer, Height as Integer, Format as Integer, colorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage from a RAW memory buffer.
Notes:
Data points directly to the row data.
Length is the size of the memoryblock in bytes.
BytesPerRow is the size of a row in bytes.
Width and height are the dimensions of the image.
Format must be one of this constants: kCIFormatRGBAf, kCIFormatRGBA16 and kCIFormatARGB8.
Colorspace is the CoreGraphics Colorspace object to be used.

Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIImagewithCGImageMBS(cgimage as CGImageMBS, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a CGImage.
Notes:
cgcolorspace: Use this colorspace when opening the image.
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

Some examples using this method:

NewCIImagewithCGImageMBS(cgimage as CGImageMBS, options as dictionary = nil) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a CGImage.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

Some examples using this method:

NewCIImagewithDataMBS(Data as memoryblock, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on the image file content stored inside the data string.
Notes:
cgcolorspace: Use this colorspace when opening the image.

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

See also:

NewCIImagewithDataMBS(Data as Memoryblock, Options as Dictionary = nil) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on the image file content stored inside the data string.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

NewCIImagewithFileMBS(file as folderitem) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a the content of the file.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

In plugin version 7.5 and Mac OS X 10.4.10 this method leaks the data because of a bug in the framework.

See also:

Some examples using this method:

NewCIImagewithFileMBS(file as folderitem, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a the content of the file.
Notes:
cgcolorspace: Use this colorspace when opening the image.

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

In plugin version 7.5 and Mac OS X 10.4.10 this method leaks the data because of a bug in the framework.

See also:

Some examples using this method:

NewCIImagewithURLMBS(url as String) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a the content of the file where the URL points to.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

NewCIImagewithURLMBS(url as String, cgcolorspace as CGColorSpaceMBS) as CIImageMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a CIImage based on a the content of the file where the URL points to.
Notes:
cgcolorspace: Use this colorspace when opening the image.

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

See also:

NewCISamplerMBS(ciImage as CIImageMBS) as CISamplerMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new sampler based on the given image.
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

See also:

NewCISamplerMBS(ciImage as CIImageMBS, matrix as NSAffineTransformMBS, WrapMode as String, FilterMode as string) as CISamplerMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new sampler based on the given image.
Notes:
matrix:An affine transformation [a b c d tx ty] defining the transformation to be applied to the sampler.
wrapmode:A string defining how pixels outside the sampler's extent are produced. Options include kCISamplerWrapBlack (pixels are transparent black, the default) and kCISamplerWrapClamp (coordinates are clamped to the extent).
FilterMode:A string defining the filter to use when sampling the image. One of kCISamplerFilterNearest (point sampling) or kCISamplerFilterLinear (bilinear interpolation, the default).

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

See also:

NewCIVectorWithStringMBS(s as string) as CIVectorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new vector based on content of the string.
Example:
dim v as CIVectorMBS
v=NewCIVectorWithStringMBS("[1 2 3]")
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIVectorWithXMBS(x as Double) as CIVectorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new vector based on one value.
Example:
dim x as Double = 1
dim v as CIVectorMBS
v=NewCIVectorWithXMBS(x)
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIVectorWithXYMBS(x as Double, y as Double) as CIVectorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new vector based on two values.
Example:
dim x as Double = 1
dim y as Double = 2
dim v as CIVectorMBS
v=NewCIVectorWithXYMBS(x,y)
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIVectorWithXYZMBS(x as Double, y as Double, z as Double) as CIVectorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new vector based on three values.
Example:
dim x as Double = 1
dim y as Double = 2
dim z as Double = 3
dim v as CIVectorMBS
v=NewCIVectorWithXYZMBS(x,y,z)
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.
NewCIVectorWithXYZWMBS(x as Double, y as Double, z as Double, w as Double) as CIVectorMBS
global method, CoreImage, MBS MacOSXCG Plugin (QuartzCore),
Plugin version: 7.3, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: Creates a new vector based on 4 values.
Example:
dim x as Double = 1
dim y as Double = 2
dim z as Double = 3
dim w as Double = 4
dim v as CIVectorMBS
v=NewCIVectorWithXYZWMBS(x,y,z,w)
Notes:
Returns nil on any error.
Requires Mac OS X 10.4 to work.

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




Links
MBS FileMaker Plugins