This function is used to get current foreground color.
Current fill color.
This function is obsolete and is declared only in graphics.h.
It is recommended that use getlinecolor or gettextcolor instead of this function.
Because the foreground color set by this function includes both line and text color, it is not exactly equivalent to the getlinecolor or gettextcolor functions in easyx.h, so choose an alternative function based on the actual situation.