| Functions | |
| void | g2_pen (int dev, int color) | 
| void | g2_set_background (int dev, int color) | 
| int | g2_ink (int pd_dev, double red, double green, double blue) | 
| void | g2_reset_palette (int dev) | 
| void | g2_clear_palette (int dev) | 
| void | g2_allocate_basic_colors (int dev) | 
Some basic colors are:
| 
 | 
| Allocate basic colors 
 
 | 
| 
 | 
| Remove all inks. 
 
 | 
| 
 | ||||||||||||||||||||
| Create an ink. To put ink into the pen use g2_pen(). 
 
 
 | 
| 
 | ||||||||||||
| Set pen color for all following operations, see also g2_ink(). 
 
 | 
| 
 | 
| Clear collor palette (remove all inks) and reallocate basic colors. 
 
 | 
| 
 | ||||||||||||
| Set the background color 
 
 | 
 1.4.6
 1.4.6