>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: gtgcvls.m,v 1.9 92/06/29 19:00:29 rws Exp $
>># 
>>#
>>TITLE XGetGCValues CH05
>>ASSERTION A XGetGCValues-1
A call to XGetGCValues copies the components specified by
the valuemask argument from the specified GC to the contents
of the values_return argument.
>>STRATEGY
Create a GC with non-default values for function,
 planemask, foreground, background, linewidth, linestyle,
 capstyle, joinstyle, fillstyle, fillrule, tile, stipple,
 stipple origin, font, subwindowmode, graphics exposures,
 clip origin, dash offset and arcmode using XCreateGC.
Read the GC structure components using XGetGCValues.
Verify that the returned values match the created values.
>>ASSERTION A XGetGCValues-2
When the valuemask argument is a bitwise OR of any of
GCFunction, GCPlaneMask, GCForeground, GCBackground,
GCLineWidth, GCLineStyle, GCCapStyle, GCJoinStyle,
GCFillStyle, GCFillRule, GCTile, GCStipple,
GCTileStipXOrigin, GCTileStipYOrigin, GCFont,
GCSubwindowMode, GCGraphicsExposures, GCClipXOrigin,
GCCLipYOrigin, GCDashOffset, or GCArcMode, then a call to
XGetGCValues returns a non-zero value.
>>STRATEGY
Call XGetGCValues with a valuemask of
	GCFunction | GCPlaneMask | GCForeground |
	GCBackground | GCLineWidth | GCLineStyle  |
	GCCapStyle | GCJoinStyle | GCFillStyle |
	GCFillRule | GCTile | GCStipple |
	GCTileStipXOrigin | GCTileStipYOrigin | GCFont |
	GCSubwindowMode | GCGraphicsExposures | GCClipXOrigin |
	GCClipYOrigin	| GCDashOffset	| GCArcMode .
Verify that XGetGCValues returns non-zero.
>>ASSERTION A XGetGCValues-3
When the valuemask argument is other than a bitwise OR of
any of GCFunction, GCPlaneMask, GCForeground,
GCBackground, GCLineWidth, GCLineStyle, GCCapStyle,
GCJoinStyle, GCFillStyle, GCFillRule, GCTile, GCStipple,
GCTileStipXOrigin, GCTileStipYOrigin, GCFont,
GCSubwindowMode, GCGraphicsExposures, GCClipXOrigin,
GCCLipYOrigin, GCDashOffset, or GCArcMode, then a call to
XGetGCValues returns zero.
>>STRATEGY
Call XGetGCValues with a valuemask of  GCClipmask | GCForeground.
Verify that XGetGCValues returns zero.
Call XGetGCValues with a valuemask of  GCDashList | GCForeground.
Verify that XGetGCValues returns zero.
