Create gfx.c

Reference: Thain, Douglas, "gfx.c"