draw.h - coloursΒΆ
Colours for draw operations
These are the foreground and background colours available for use with the draw functions. SetOutlineColor() and SetBrushColor(). These functions set the colour for the pen and brush used for draw operations.
From Sculptor V.5 onwards RGB values are available for precise colour definitions. SetOutlineColor() has been replaced by SetPenColor(), and SetBrushColor() has been given a new syntax. The old functions and the use of the colours listed below should be regarded as obsolescent.
Foreground |
Background |
FORE_BLACK |
BACK_BLACK |
FORE_BLUE |
BACK_BLUE |
FORE_GREEN |
BACK_GREEN |
FORE_CYAN |
BACK_CYAN |
FORE_RED |
BACK_RED |
FORE_MAGENTA |
BACK_MAGENTA |
FORE_BROWN |
BACK_BROWN |
FORE_WHITE |
BACK_WHITE |
FORE_GREY |
BACK_GREY |
FORE_LIGHT_BLUE |
BACK_LIGHT_BLUE |
FORE_LIGHT_GREEN |
BACK_LIGHT_GREEN |
FORE_LIGHT_CYAN |
BACK_LIGHT_CYAN |
FORE_LIGHT_RED |
BACK_LIGHT_RED |
FORE_LIGHT_MAGENTA |
BACK_LIGHT_MAGENTA |
FORE_YELLOW |
BACK_YELLOW |
FORE_LIGHT_GREY |
BACK_LIGHT_GREY |
RELATED TOPICS |