ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_antialias_set |
This function sets new anti-alias settings.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_dspl_antialias_set( [IN] HIGEAR hIGear, [IN] DWORD dwGrpID, [IN] AT_MODE nAliasFlags, [IN] INT nThreshold ); |
Name | Type | Description |
hIGear | HIGEAR | ImageGear handle of image. |
dwGrpID | DWORD | Identifier of group in which to set option. |
nAliasFlags | AT_MODE |
New value of AliasMode to set. Possible value is one of the following:
with OR combination of one additional flag:
|
nThreshold | INT | Specifies display aliasing threshold level (AliasThreshold). Please see Dithering, Anti-Aliasing, and Palette Handling. |
Returns the number of ImageGear errors that occurred during this function call.
All pixel formats supported by ImageGear Professional.
Copy Code
|
|
---|---|
HIGEAR hIGear; /* HIGEAR handle of image */ DWORD nGrpID; /* display group identifier */ ... /* sets scale to gray algorithm with subsampling */ IG_dspl_antialias_set( hIGear, nGrpID, IG_DSPL_ANTIALIAS_SCALE_TO_GRAY| IG_DSPL_ANTIALIAS_SUBSAMPLE, 50 ); ... |