IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcSetAAFactor ( unsigned short  factor  ) 

This function sets the antialiasing factor for some drawing functions.
The given factor specifies the quality of the antialiasing. By default, the antialiasing is off (factor 0).

Parameters:
factor Specifies the antialiasing quality factor (0-6).
The values 0 and 1 mean that the is antialiasing is off. The value 2 specifies a low-quality antialiasing mode (2x2 = 4 shades). The value 4 specifies a high-quality antialiasing mode (4*4 = 16 shades). Increasing the antialiasing factor further does not improve the result significantly, but increases the calculation time dramatically.
Returns:
One of the following error codes is returned:
Since:
2.05
Targets:

GC01

GC04

-

X

See also:
gcDrawLine, gcDrawPolygon, gcDrawRoundRect, gcFillCircle





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1