# include "Ximage.h"

/************** MakeGC *************/
void MakeGC () {

  XGCValues gcvalues;

  gcvalues.foreground = graphic.fore;
  gcvalues.background = graphic.back;
  graphic.gc = XCreateGC (graphic.display, graphic.window, 
			     GCForeground | GCBackground, &gcvalues);
  if (graphic.gc == 0)
    QuitX (graphic.display, "Error in creating a Graphics Context", "");
}
