The primitive put_graphics_attributes/2
is used to modify GCs.
There are
two ways to change a GC: it may be modified directly, by calling
put_graphics_attributes/2
with a GC as argument, or through a
drawable,
by passing a drawable as argument.