 | PdfiumFPDFShadingPattern_GetFunctions Method |
Get the shading's functions.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IntPtr[] FPDFShadingPattern_GetFunctions(
IntPtr shadding_pattern
)
Public Shared Function FPDFShadingPattern_GetFunctions (
shadding_pattern As IntPtr
) As IntPtr()
public:
static array<IntPtr>^ FPDFShadingPattern_GetFunctions(
IntPtr shadding_pattern
)
static member FPDFShadingPattern_GetFunctions :
shadding_pattern : IntPtr -> IntPtr[]
public static IntPtr[] FPDFShadingPattern_GetFunctions(
IntPtr shadding_pattern
)
Patagames.Pdf.Pdfium.FPDFShadingPattern_GetFunctions = function(shadding_pattern);
Parameters
- shadding_pattern IntPtr
- The handle to the shading pattern.
Return Value
IntPtrAn array of functions depending on the specific type of shading; null if any error has occurred.
RemarksFunctionBasedShading | An array of n 2-in, 1-out functions, where n is the number of color components in the shading’s color space. |
AxialShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. The function(s) are called with values of the parametric variable t in the domain defined by the FPDFShadingType2_SetDomain(IntPtr, Single, Single) method. |
RadialShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. The function(s) are called with values of the parametric variable t in the domain defined by the FPDFShadingType3_SetDomain(IntPtr, Single, Single) method. |
FreeFormGouraudTriangleMeshShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. If this entry is present, the color data for each vertex must be specified by a single parametric variable rather than by n separate color components. The designated function(s) are called with each interpolated value of the parametric variable to determine the actual color at each point. Each input value is forced into the range interval specified for the corresponding color component in the shading dictionary’s Decode array. Each function’s domain must be a superset of that interval. If the value returned by the function for a given color component is out of range, it is adjusted to the nearest valid value. |
LatticeFormGouraudTriangleMeshShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. If this entry is present, the color data for each vertex must be specified by a single parametric variable rather than by n separate color components. The designated function(s) are called with each interpolated value of the parametric variable to determine the actual color at each point. Each input value is forced into the range interval specified for the corresponding color component in the shading dictionary’s Decode array. Each function’s domain must be a superset of that interval. If the value returned by the function for a given color component is out of range, it is adjusted to the nearest valid value. |
CoonsPatchMeshShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. If this entry is present, the color data for each vertex must be specified by a single parametric variable rather than by n separate color components. The designated function(s) are called with each interpolated value of the parametric variable to determine the actual color at each point. Each input value is forced into the range interval specified for the corresponding color component in the shading dictionary’s Decode array. Each function’s domain must be a superset of that interval. If the value returned by the function for a given color component is out of range, it is adjusted to the nearest valid value. |
TensorProductPatchMeshShading | An array of n 1-in, 1-out functions, where n is the number of color components in the shading’s color space. If this entry is present, the color data for each vertex must be specified by a single parametric variable rather than by n separate color components. The designated function(s) are called with each interpolated value of the parametric variable to determine the actual color at each point. Each input value is forced into the range interval specified for the corresponding color component in the shading dictionary’s Decode array. Each function’s domain must be a superset of that interval. If the value returned by the function for a given color component is out of range, it is adjusted to the nearest valid value. |
See Also