/* * $Id: getfillsettings.c,v 0.1 1993/12/10 00:15:31 king Exp king $ * Gets information about the current fill pattern and colour. * * $Log: getfillsettings.c,v $ * Revision 0.1 1993/12/10 00:15:31 king * Initial version. * */ #include "graphics.h" void getfillsettings(fillsettingstype *fillinfo) { XGCValues values; XGetGCValues(dpy, gc, GCFillStyle | GCForeground, &values); *fillinfo = fill_settings; }