ImageGear for C and C++ on Windows v19.10 - Updated
IG_vect_gradient_get_matrix
API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_get_matrix

Gets the gradient transformation matrix.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_matrix(
        HIG_VECT_GRADIENT hGradient,
        VECT_REAL* lpMat4x4
);

Arguments:

Name Type Description
hGradient HIG_VECT_GRADIENT Handle to a gradient object.
lpMat4x4 VECT_REAL* Pointer to a memory buffer to receive a copy of the gradient transformation matrix. The buffer must be big enough to store 16 VECT_REAL values.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None