ImageGear for C and C++ on Linux v18.10 - Updated
IG_dspl_antialias_get_ex
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_antialias_get_ex

This function returns the current anti-alias settings.

Declaration:

 
Copy Code
AT_ERRCOUNT  ACCUAPI  IG_dspl_antialias_get_ex(
        [IN] HIGEAR hIGear,
        [IN] DWORD dwGrpID,
        [OUT] LPAT_MODE lpnAliasFlags,
        [OUT] LPUINT lpnThreshold
        [OUT] LPUINT lpnQuality 
);

Arguments:

Name Type Description
hIGear HIGEAR ImageGear handle of image.
dwGrpID DWORD Identifier of group from which to get option.
lpnAliasFlags LPAT_MODE Pointer to where AliasMode is to be received. If NULL, then this parameter is ignored.
lpnThreshold LPUINT Pointer to where ThresholdValue is to be received. If NULL, then this parameter is ignored.
lpnQuality LPUINT Pointer to where color anti-aliasing quality value is to be received. If NULL, then this parameter is ignored.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Example:

 
Copy Code
HIGEAR           hIGear;     /* HIGEAR handle of image  */
DWORD           nGrpID;     /* display group identifier */
AT_MODE nAliasFlags; /* alias flags  */
UINT            nThreshold;  /* alias threshold */
UINT nQuality /*alias quality */
 ...
IG_dspl_antialias_get_ex( hIGear, nGrpID, &nAliasFlags, &nThreshold, &nQuality);
 ...

Remarks:

Possible values are listed in the description of the IG_dspl_antialias_set_ex() function.