Platforms to show: All Mac Windows Linux Cross-Platform
Back to CGFunctionMBS class.
CGFunctionMBS.Create(domainDimension as Integer, domain as memoryblock, rangeDimension as Integer, range as memoryblock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreGraphics | MBS MacCG Plugin | 6.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Parameters
domainDimension: The number of inputs.
domain: An array of (2*domainDimension) floats used to specify the valid intervals of input values. For each k from 0 to (domainDimension - 1), domain[2*k] must be less than or equal to domain[2*k+1], and the kth input value will be clipped to lie in the interval domain[2*k] ≤ input[k] ≤ domain[2*k+1]. If this parameter is nil, then the input values are not clipped.
rangeDimension: The number of outputs.
range: An array of (2*rangeDimension) floats that specifies the valid intervals of output values. For each k from 0 to (rangeDimension - 1), range[2*k] must be less than or equal to range[2*k+1], and the kth output value will be clipped to lie in the interval range[2*k] ≤ output[k] ≤ range[2*k+1]. If this parameter is nil, then the output values are not clipped.
Returns the new Quartz function or nil on any error.
Available in Mac OS X version 10.2 and later.
The items on this page are in the following plugins: MBS MacCG Plugin.