This is an abstract class which provides a framework for a device independant drawing.
In addition, this class provides methods to perform the actual drawing. As a convenience, you can also access these through various function interfaces. One is a Display Postscript interface using PS and DPS opeterations. Another is a Quartz interface (not yet written).
YES
if the current context is
a display context
Create a graphics context with attributes, which contains key/value pairs which describe the specifics of how the context is to be initialized.
Sets the colorspace for fill operations based on values in the supplied dictionary dict.
For device colorspaces (GSDeviceGray, GSDeviceRGB, GSDeviceCMYK), only the name of the colorspace needs to be set using the GSColorSpaceName key.
Other colorspaces will be documented later