This function returns the current anti-alias settings.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_dspl_antialias_get(
[IN] HIGEAR hIGear,
[IN] DWORD dwGrpID,
[OUT] LPAT_MODE lpnAliasFlags,
[OUT] LPUINT lpnThreshold
);
|
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. |
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++.
Sample:
MFC, Timing, Filters
Example:
|
Copy Code
|
HIGEAR hIGear; /* HIGEAR handle of image */
DWORD nGrpID; /* display group identifier */
AT_MODE nAliasFlags; /* alias flags */
UINT nThreshold; /* alias threshold */
...
IG_dspl_antialias_get( hIGear, nGrpID, &nAliasFlags, &nThreshold );
...
|
Remarks:
Possible values are listed in the description of the IG_dspl_antialias_set() function.