 | PdfiumFPDFFunction_CreatePS Method |
Create a PostScript calculator function.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr FPDFFunction_CreatePS(
int numOfInputs,
int numOfOutputs,
float[] domain,
float[] range,
byte[] psProg
)
Public Shared Function FPDFFunction_CreatePS (
numOfInputs As Integer,
numOfOutputs As Integer,
domain As Single(),
range As Single(),
psProg As Byte()
) As IntPtr
public:
static IntPtr FPDFFunction_CreatePS(
int numOfInputs,
int numOfOutputs,
array<float>^ domain,
array<float>^ range,
array<unsigned char>^ psProg
)
static member FPDFFunction_CreatePS :
numOfInputs : int *
numOfOutputs : int *
domain : float32[] *
range : float32[] *
psProg : byte[] -> IntPtr
public static IntPtr FPDFFunction_CreatePS(
int numOfInputs,
int numOfOutputs,
float[] domain,
float[] range,
byte[] psProg
)
Patagames.Pdf.Pdfium.FPDFFunction_CreatePS = function(numOfInputs, numOfOutputs, domain, range, psProg);
Parameters
- numOfInputs Int32
- The number of input values of a function.
- numOfOutputs Int32
- The number of output values of a function.
- domain Single
- The domain of definition of a function.
- range Single
- The range of a function.
- psProg Byte
- A PostScript program represented by byte array.
Return Value
IntPtrThe handle to the created function.
RemarksDomain | Required | An array of 2 × numOfInputs numbers. Input values outside the declared domain are clipped to the nearest boundary value. |
Range | Required | An array of 2 × numOfOutputs numbers. Output values outside the declared range are clipped to the nearest boundary value. |
psProg | Required | A PostScript code written in a small subset of the PostScript language. |
See Also