richard@brainstorm.co.uk
)
fedor@gnu.org
)GNUstep drawing context class.
Copyright: (C) 1998,1999 Free Software Foundation, Inc.
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).
- Declared in:
- AppKit/NSGraphicsContext.h
Standards:
- NotOpenStep
- GNUstep
- MacOS-X
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Returns the current context. Also see the convienience function GSCurrentContext()
Returns 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.
Create graphics context with attributes speficied by aWindow's device description.
Description forthcoming.
Description forthcoming.
Set the current context that will handle drawing.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
- Declared in:
- AppKit/NSGraphicsContext.h
Standards:
- NotMacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
- Declared in:
- AppKit/NSGraphicsContext.h
Standards:
- NotOpenStep
- GNUstep
- MacOS-X
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
- Declared in:
- AppKit/NSGraphicsContext.h
Standards:
- NotOpenStep
- GNUstep
- MacOS-X
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Returns the current alpha component
Returns the current color according to the CMYK color model
Description forthcoming.
Description forthcoming.
Returns the gray-level equivalent in the current color space. The value may depend on the current color space and may be 0 if the current color space has no notion of a gray value
Depcreciated. Same as -GSReplaceGState:
Returns the current color according to the HSB color model.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Returns the current color according to the RGB color model
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Pops a previously saved gstate from the gstate stack and makes it current. Drawing information in the previously saved gstate becomes the current information
Saves (pushes) a copy of the current gstate information onto the gstate stack. This saves drawing information contained in the gstate, such as the current path, ctm and colors.
Depreciated. Use -DPSDefineGState to create a gstate it and tag it with a id tag.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Sets the alpha drawing component. For this and other color setting commands that have no differentiation between fill and stroke colors, both the fill and stroke alpha are set.
Sets the current colorspace to Device CMYK and the current color based on the indicated values. For this and other color setting commands that have no differentiation between fill and stroke colors, both the fill and stroke colors are set.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Sets the current colorspace to Device Gray and the current gray value
Makes the gstate indicated by the tag gst the current gstate. Note that the gstate is copied, so that changes to either gstate do not affect the other.
Description forthcoming.
Sets the current colorspace to Device RGB and the current color based on the indicated values
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Sets the current colorspace to Device RGB and the current color based on the indicated values
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Creates a copy of the current gstate and associates it with a tag, which is given in the return value. This tag can later be used in -DPSsetgstate: to set the gstate as being current again.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Replaces the gstate refered to by the tag gst with the current gstate. The former gstate is destroyed.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Sets the current color for fill operations. The values array should have n components, where n corresponds to the number of color components required to specify the color in the current colorspace.
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
Description forthcoming.
Description forthcoming.
Sets the current color for fill operations. The values array should have n components, where n corresponds to the number of color components required to specify the color in the current colorspace.
Sets the colorspace for stroke operations based on the values in the supplied dictionary. See -GSSetFillColorspace: for a description of the values that need to be supplied
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Disassociates the tag gst with it's gstate and destroys the gstate object. The tag will no longer be valid and should not be used to refer to the gstate again.