libs-gui/Documentation/gsdoc/NSGraphicsContext.html

1709 lines
81 KiB
HTML
Raw Normal View History

<html>
<head>
<title>NSGraphicsContext</title>
</head>
<body>
<a href="Gui.html">Up</a>
<br />
<h1><a name="title$NSGraphicsContext">NSGraphicsContext</a></h1>
<h3>Authors</h3>
<dl>
<dt>Richard Frith-Macdonald(<a href="mailto:richard@brainstorm.co.uk"><code>
richard@brainstorm.co.uk
</code></a>)</dt>
<dd>
</dd>
<dt>Adam Fedor(<a href="mailto:fedor@gnu.org"><code>
fedor@gnu.org
</code></a>)</dt>
<dd>
</dd>
</dl>
<blockquote>
GNUstep drawing context class.
</blockquote>
<p><b>Copyright:</b> (C) 1998,1999 Free Software Foundation, Inc.</p>
<div>
<hr width="50%" align="left" />
<h3>Contents -</h3>
<ol>
<li>
<a href="#001000000000">NSGraphicsContext</a>
</li>
<li>
<a href="#002000000000">Software documentation for the
NSGraphicsContext(GNUstep) category</a>
</li>
<li>
<a href="#003000000000">Software documentation for the
NSGraphicsContext(NSGraphics)
category</a>
</li>
<li>
<a href="#004000000000">Software documentation for the NSGraphicsContext(Ops)
category</a>
</li>
</ol>
<hr width="50%" align="left" />
</div>
<h1><a name="001000000000">NSGraphicsContext</a></h1>
<p>
This is an abstract class which provides a framework for a
device independant drawing.
</p>
<p>
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
operations. Another is a Quartz interface (not yet
written).
</p>
<h2><a name="class$NSGraphicsContext">NSGraphicsContext</a> : NSObject</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSGraphicsContext.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>NotOpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
</p>
<hr width="50%" align="left" />
<h3>Instance variables</h3>
<h3><a name="ivariable$NSGraphicsContext*_antialias">_antialias</a></h3>
@public <b>_antialias</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*_interp">_interp</a></h3>
@public <b>_interp</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*context_data">context_data</a></h3>
@public <b>context_data</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*context_info">context_info</a></h3>
@public <b>context_info</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*focus_stack">focus_stack</a></h3>
@public <b>focus_stack</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*methods">methods</a></h3>
@public <b>methods</b>;<br />
<hr width="25%" align="left" />
<h3><a name="ivariable$NSGraphicsContext*usedFonts">usedFonts</a></h3>
@public <b>usedFonts</b>;<br />
<hr width="25%" align="left" />
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+currentContext">+currentContext</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+currentContextDrawingToScreen">+currentContextDrawingToScreen</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+graphicsContextWithAttributes:">+graphicsContextWithAttributes:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+graphicsContextWithWindow:">+graphicsContextWithWindow:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+handleExposeRect:forDriver:">+handleExposeRect:forDriver:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+restoreGraphicsState">+restoreGraphicsState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+saveGraphicsState">+saveGraphicsState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+setCurrentContext:">+setCurrentContext:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+setDefaultContextClass:">+setDefaultContextClass:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+setGraphicsState:">+setGraphicsState:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSPrintf::">-DPSPrintf::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSWriteData::">-DPSWriteData::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarc:::::">-DPSarc:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarcn:::::">-DPSarcn:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarct:::::">-DPSarct:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSashow:::">-DPSashow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSawidthshow::::::">-DPSawidthshow::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScharpath::">-DPScharpath::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSclip">-DPSclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSclosepath">-DPSclosepath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScomposite::::::::">-DPScomposite::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScompositerect:::::">-DPScompositerect:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSconcat:">-DPSconcat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentalpha:">-DPScurrentalpha:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentcmykcolor::::">-DPScurrentcmykcolor::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentflat:">-DPScurrentflat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgcdrawable::::">-DPScurrentgcdrawable::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgray:">-DPScurrentgray:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgstate:">-DPScurrentgstate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrenthsbcolor:::">-DPScurrenthsbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinecap:">-DPScurrentlinecap:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinejoin:">-DPScurrentlinejoin:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinewidth:">-DPScurrentlinewidth:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentmiterlimit:">-DPScurrentmiterlimit:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentoffset::">-DPScurrentoffset::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentpoint::">-DPScurrentpoint::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentrgbcolor:::">-DPScurrentrgbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentstrokeadjust:">-DPScurrentstrokeadjust:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurveto::::::">-DPScurveto::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSdissolve::::::::">-DPSdissolve::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSeoclip">-DPSeoclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSeofill">-DPSeofill</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSfill">-DPSfill</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSflattenpath">-DPSflattenpath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgrestore">-DPSgrestore</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgsave">-DPSgsave</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgstate">-DPSgstate</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitclip">-DPSinitclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitgraphics">-DPSinitgraphics</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitmatrix">-DPSinitmatrix</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSlineto::">-DPSlineto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSmoveto::">-DPSmoveto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSnewpath">-DPSnewpath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSpathbbox::::">-DPSpathbbox::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrcurveto::::::">-DPSrcurveto::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectclip::::">-DPSrectclip::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectfill::::">-DPSrectfill::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectstroke::::">-DPSrectstroke::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSreversepath">-DPSreversepath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrlineto::">-DPSrlineto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrmoveto::">-DPSrmoveto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrotate:">-DPSrotate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSscale::">-DPSscale::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetalpha:">-DPSsetalpha:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetcmykcolor::::">-DPSsetcmykcolor::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetdash:::">-DPSsetdash:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetflat:">-DPSsetflat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgcdrawable::::">-DPSsetgcdrawable::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgray:">-DPSsetgray:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgstate:">-DPSsetgstate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsethalftonephase::">-DPSsethalftonephase::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsethsbcolor:::">-DPSsethsbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinecap:">-DPSsetlinecap:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinejoin:">-DPSsetlinejoin:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinewidth:">-DPSsetlinewidth:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetmiterlimit:">-DPSsetmiterlimit:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetoffset::">-DPSsetoffset::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetrgbcolor:::">-DPSsetrgbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetstrokeadjust:">-DPSsetstrokeadjust:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSshow:">-DPSshow:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSstroke">-DPSstroke</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPStranslate::">-DPStranslate::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSwidthshow::::">-DPSwidthshow::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSxshow:::">-DPSxshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSxyshow:::">-DPSxyshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSyshow:::">-DPSyshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSConcatCTM:">-GSConcatCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSCurrentCTM">-GSCurrentCTM</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSCurrentDevice:::">-GSCurrentDevice:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSDefineGState">-GSDefineGState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSDrawImage::">-GSDrawImage::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSGetTextCTM">-GSGetTextCTM</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSGetTextPosition">-GSGetTextPosition</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSRectClipList::">-GSRectClipList::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSRectFillList::">-GSRectFillList::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSReplaceGState:">-GSReplaceGState:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSendBezierPath:">-GSSendBezierPath:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetCTM:">-GSSetCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetCharacterSpacing:">-GSSetCharacterSpacing:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetDevice:::">-GSSetDevice:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFillColor:">-GSSetFillColor:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFillColorspace:">-GSSetFillColorspace:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFont:">-GSSetFont:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFontSize:">-GSSetFontSize:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetStrokeColor:">-GSSetStrokeColor:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetStrokeColorspace:">-GSSetStrokeColorspace:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextCTM:">-GSSetTextCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextDrawingMode:">-GSSetTextDrawingMode:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextPosition:">-GSSetTextPosition:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSShowGlyphs::">-GSShowGlyphs::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSShowText::">-GSShowText::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSUndefineGState:">-GSUndefineGState:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSWSetViewIsFlipped:">-GSWSetViewIsFlipped:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSWViewIsFlipped">-GSWViewIsFlipped</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSBeep">-NSBeep</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSDrawBitmap:::::::::::">-NSDrawBitmap:::::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSReadPixel:">-NSReadPixel:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-attributes">-attributes</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-contextDevice:">-contextDevice:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-flushGraphics">-flushGraphics</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-focusStack">-focusStack</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-focusView">-focusView</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-graphicsPort">-graphicsPort</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-imageInterpolation">-imageInterpolation</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-initWithContextInfo:">-initWithContextInfo:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-isDrawingToScreen">-isDrawingToScreen</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-lockFocusView:inRect:">-lockFocusView:inRect:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-resetUsedFonts">-resetUsedFonts</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-restoreGraphicsState">-restoreGraphicsState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-saveGraphicsState">-saveGraphicsState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-setFocusStack:">-setFocusStack:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-setImageInterpolation:">-setImageInterpolation:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-setShouldAntialias:">-setShouldAntialias:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-shouldAntialias">-shouldAntialias</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-unlockFocusView:needsFlush:">-unlockFocusView:needsFlush:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-useFont:">-useFont:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-usedFonts">-usedFonts</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSGraphicsContext+currentContext">currentContext</a></h3>
+ (<a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>*) <b>currentContext</b>;<br />
<p>
Returns the current context. Also see the
convienience function GSCurrentContext()
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+currentContextDrawingToScreen">currentContextDrawingToScreen</a></h3>
+ (BOOL) <b>currentContextDrawingToScreen</b>;<br />
<p>
Returns <code>YES</code> if the current context is
a display context
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+graphicsContextWithAttributes:">graphicsContextWithAttributes:</a></h3>
+ (<a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>*) <b>graphicsContextWithAttributes:</b> (NSDictionary*)attributes;<br />
<p>
</p>
<p>
Create a graphics context with
<var>attributes</var>, which contains key/value
pairs which describe the specifics of how the
context is to be initialized.
</p>
<p>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+graphicsContextWithWindow:">graphicsContextWithWindow:</a></h3>
+ (<a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>*) <b>graphicsContextWithWindow:</b> (<a rel="gsdoc" href="NSWindow.html#class$NSWindow">NSWindow</a>*)aWindow;<br />
<p>
Create graphics context with attributes speficied by
aWindow's device description.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+restoreGraphicsState">restoreGraphicsState</a></h3>
+ (void) <b>restoreGraphicsState</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+saveGraphicsState">saveGraphicsState</a></h3>
+ (void) <b>saveGraphicsState</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+setCurrentContext:">setCurrentContext:</a></h3>
+ (void) <b>setCurrentContext:</b> (<a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>*)context;<br />
<p>
Set the current <var>context</var> that will handle
drawing.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+setGraphicsState:">setGraphicsState:</a></h3>
+ (void) <b>setGraphicsState:</b> (int)graphicsState;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-attributes">attributes</a></h3>
- (NSDictionary*) <b>attributes</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-flushGraphics">flushGraphics</a></h3>
- (void) <b>flushGraphics</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-focusStack">focusStack</a></h3>
- (void*) <b>focusStack</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-graphicsPort">graphicsPort</a></h3>
- (void*) <b>graphicsPort</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-imageInterpolation">imageInterpolation</a></h3>
- (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageInterpolation">NSImageInterpolation</a>) <b>imageInterpolation</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-isDrawingToScreen">isDrawingToScreen</a></h3>
- (BOOL) <b>isDrawingToScreen</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-restoreGraphicsState">restoreGraphicsState</a></h3>
- (void) <b>restoreGraphicsState</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-saveGraphicsState">saveGraphicsState</a></h3>
- (void) <b>saveGraphicsState</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-setFocusStack:">setFocusStack:</a></h3>
- (void) <b>setFocusStack:</b> (void*)stack;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-setImageInterpolation:">setImageInterpolation:</a></h3>
- (void) <b>setImageInterpolation:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$NSImageInterpolation">NSImageInterpolation</a>)interpolation;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-setShouldAntialias:">setShouldAntialias:</a></h3>
- (void) <b>setShouldAntialias:</b> (BOOL)antialias;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-shouldAntialias">shouldAntialias</a></h3>
- (BOOL) <b>shouldAntialias</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h1><a name="002000000000">
Software documentation for the
NSGraphicsContext(GNUstep) category
</a></h1>
<h2><a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>(<a name="category$NSGraphicsContext(GNUstep)">GNUstep</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSGraphicsContext.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>NotMacOS-X</li>
<li>NotOpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+handleExposeRect:forDriver:">+handleExposeRect:forDriver:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext+setDefaultContextClass:">+setDefaultContextClass:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-contextDevice:">-contextDevice:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-focusView">-focusView</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-initWithContextInfo:">-initWithContextInfo:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-lockFocusView:inRect:">-lockFocusView:inRect:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-resetUsedFonts">-resetUsedFonts</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-unlockFocusView:needsFlush:">-unlockFocusView:needsFlush:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-useFont:">-useFont:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-usedFonts">-usedFonts</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSGraphicsContext+handleExposeRect:forDriver:">handleExposeRect:forDriver:</a></h3>
+ (void) <b>handleExposeRect:</b> (NSRect)rect<b> forDriver:</b> (void*)driver;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext+setDefaultContextClass:">setDefaultContextClass:</a></h3>
+ (void) <b>setDefaultContextClass:</b> (Class)defaultContextClass;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-focusView">focusView</a></h3>
- (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*) <b>focusView</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-initWithContextInfo:">initWithContextInfo:</a></h3>
- (id) <b>initWithContextInfo:</b> (NSDictionary*)info;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-lockFocusView:inRect:">lockFocusView:inRect:</a></h3>
- (void) <b>lockFocusView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView<b> inRect:</b> (NSRect)rect;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-resetUsedFonts">resetUsedFonts</a></h3>
- (void) <b>resetUsedFonts</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-unlockFocusView:needsFlush:">unlockFocusView:needsFlush:</a></h3>
- (void) <b>unlockFocusView:</b> (<a rel="gsdoc" href="NSView.html#class$NSView">NSView</a>*)aView<b> needsFlush:</b> (BOOL)flush;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-useFont:">useFont:</a></h3>
- (void) <b>useFont:</b> (NSString*)fontName;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-usedFonts">usedFonts</a></h3>
- (NSSet*) <b>usedFonts</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h1><a name="003000000000">
Software documentation for the
NSGraphicsContext(NSGraphics)
category
</a></h1>
<h2><a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>(<a name="category$NSGraphicsContext(NSGraphics)">NSGraphics</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSGraphicsContext.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>NotOpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSWSetViewIsFlipped:">-GSWSetViewIsFlipped:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSWViewIsFlipped">-GSWViewIsFlipped</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSBeep">-NSBeep</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSDrawBitmap:::::::::::">-NSDrawBitmap:::::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-NSReadPixel:">-NSReadPixel:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSGraphicsContext-GSWSetViewIsFlipped:">GSWSetViewIsFlipped:</a></h3>
- (void) <b>GSWSetViewIsFlipped:</b> (BOOL)flipped;<br />
<p>
This method is used by the backend, but has been
rendered obsolete. Do not use it in any code or in
any backend implementation as it may disappear at any
point.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSWViewIsFlipped">GSWViewIsFlipped</a></h3>
- (BOOL) <b>GSWViewIsFlipped</b>;<br />
<p>
Returns <code>YES</code> if the current focused
view is flipped. This is an obsolete method. Use
[[NSView focusView] isFlipped] instead
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-NSBeep">NSBeep</a></h3>
- (void) <b>NSBeep</b>;<br />
<p>
Play the System Beep
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-NSDrawBitmap:::::::::::">NSDrawBitmap:::::::::::</a></h3>
- (void) <b>NSDrawBitmap:</b> (NSRect)rect<b> :</b> (int)pixelsWide<b> :</b> (int)pixelsHigh<b> :</b> (int)bitsPerSample<b> :</b> (int)samplesPerPixel<b> :</b> (int)bitsPerPixel<b> :</b> (int)bytesPerRow<b> :</b> (BOOL)isPlanar<b> :</b> (BOOL)hasAlpha<b> :</b> (NSString*)colorSpaceName<b> :</b> (const unsigned char*const[5])data;<br />
<p>
Generic method to render bitmap images. This method
shouldn't be used anywhere except in the AppKit
itself. It will be replaced by the more flexible
GSDrawImage method sometime in the future.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-NSReadPixel:">NSReadPixel:</a></h3>
- (<a rel="gsdoc" href="NSColor.html#class$NSColor">NSColor</a>*) <b>NSReadPixel:</b> (NSPoint)location;<br />
<p>
Read the Color at a Screen Position
</p>
<hr width="25%" align="left" />
<h1><a name="004000000000">
Software documentation for the NSGraphicsContext(Ops)
category
</a></h1>
<h2><a rel="gsdoc" href="#class$NSGraphicsContext">NSGraphicsContext</a>(<a name="category$NSGraphicsContext(Ops)">Ops</a>)</h2>
<blockquote>
<dl>
<dt><b>Declared in:</b></dt>
<dd>AppKit/NSGraphicsContext.h</dd>
</dl>
</blockquote>
<blockquote>
<b>Standards:</b>
<ul>
<li>MacOS-X</li>
<li>NotOpenStep</li>
<li>GNUstep</li>
</ul>
</blockquote>
<p>
<em>Description forthcoming.</em>
</p>
<b>Method summary</b>
<ul>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSPrintf::">-DPSPrintf::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSWriteData::">-DPSWriteData::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarc:::::">-DPSarc:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarcn:::::">-DPSarcn:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSarct:::::">-DPSarct:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSashow:::">-DPSashow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSawidthshow::::::">-DPSawidthshow::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScharpath::">-DPScharpath::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSclip">-DPSclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSclosepath">-DPSclosepath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScomposite::::::::">-DPScomposite::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScompositerect:::::">-DPScompositerect:::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSconcat:">-DPSconcat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentalpha:">-DPScurrentalpha:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentcmykcolor::::">-DPScurrentcmykcolor::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentflat:">-DPScurrentflat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgcdrawable::::">-DPScurrentgcdrawable::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgray:">-DPScurrentgray:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentgstate:">-DPScurrentgstate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrenthsbcolor:::">-DPScurrenthsbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinecap:">-DPScurrentlinecap:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinejoin:">-DPScurrentlinejoin:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentlinewidth:">-DPScurrentlinewidth:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentmiterlimit:">-DPScurrentmiterlimit:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentoffset::">-DPScurrentoffset::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentpoint::">-DPScurrentpoint::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentrgbcolor:::">-DPScurrentrgbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurrentstrokeadjust:">-DPScurrentstrokeadjust:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPScurveto::::::">-DPScurveto::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSdissolve::::::::">-DPSdissolve::::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSeoclip">-DPSeoclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSeofill">-DPSeofill</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSfill">-DPSfill</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSflattenpath">-DPSflattenpath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgrestore">-DPSgrestore</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgsave">-DPSgsave</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSgstate">-DPSgstate</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitclip">-DPSinitclip</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitgraphics">-DPSinitgraphics</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSinitmatrix">-DPSinitmatrix</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSlineto::">-DPSlineto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSmoveto::">-DPSmoveto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSnewpath">-DPSnewpath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSpathbbox::::">-DPSpathbbox::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrcurveto::::::">-DPSrcurveto::::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectclip::::">-DPSrectclip::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectfill::::">-DPSrectfill::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrectstroke::::">-DPSrectstroke::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSreversepath">-DPSreversepath</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrlineto::">-DPSrlineto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrmoveto::">-DPSrmoveto::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSrotate:">-DPSrotate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSscale::">-DPSscale::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetalpha:">-DPSsetalpha:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetcmykcolor::::">-DPSsetcmykcolor::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetdash:::">-DPSsetdash:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetflat:">-DPSsetflat:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgcdrawable::::">-DPSsetgcdrawable::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgray:">-DPSsetgray:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetgstate:">-DPSsetgstate:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsethalftonephase::">-DPSsethalftonephase::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsethsbcolor:::">-DPSsethsbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinecap:">-DPSsetlinecap:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinejoin:">-DPSsetlinejoin:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetlinewidth:">-DPSsetlinewidth:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetmiterlimit:">-DPSsetmiterlimit:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetoffset::">-DPSsetoffset::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetrgbcolor:::">-DPSsetrgbcolor:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSsetstrokeadjust:">-DPSsetstrokeadjust:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSshow:">-DPSshow:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSstroke">-DPSstroke</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPStranslate::">-DPStranslate::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSwidthshow::::">-DPSwidthshow::::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSxshow:::">-DPSxshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSxyshow:::">-DPSxyshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-DPSyshow:::">-DPSyshow:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSConcatCTM:">-GSConcatCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSCurrentCTM">-GSCurrentCTM</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSCurrentDevice:::">-GSCurrentDevice:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSDefineGState">-GSDefineGState</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSDrawImage::">-GSDrawImage::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSGetTextCTM">-GSGetTextCTM</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSGetTextPosition">-GSGetTextPosition</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSRectClipList::">-GSRectClipList::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSRectFillList::">-GSRectFillList::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSReplaceGState:">-GSReplaceGState:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSendBezierPath:">-GSSendBezierPath:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetCTM:">-GSSetCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetCharacterSpacing:">-GSSetCharacterSpacing:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetDevice:::">-GSSetDevice:::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFillColor:">-GSSetFillColor:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFillColorspace:">-GSSetFillColorspace:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFont:">-GSSetFont:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetFontSize:">-GSSetFontSize:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetStrokeColor:">-GSSetStrokeColor:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetStrokeColorspace:">-GSSetStrokeColorspace:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextCTM:">-GSSetTextCTM:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextDrawingMode:">-GSSetTextDrawingMode:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSSetTextPosition:">-GSSetTextPosition:</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSShowGlyphs::">-GSShowGlyphs::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSShowText::">-GSShowText::</a></li>
<li><a rel="gsdoc" href="NSGraphicsContext.html#method$NSGraphicsContext-GSUndefineGState:">-GSUndefineGState:</a></li>
</ul>
<hr width="50%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSPrintf::">DPSPrintf::</a></h3>
- (void) <b>DPSPrintf:</b> (char*)fmt<b> :</b> (va_list)args;<br />
<p>
Write the string (with printf substitutions) to a
PostScript context. Other output contexts will
likely ignore this
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSWriteData::">DPSWriteData::</a></h3>
- (void) <b>DPSWriteData:</b> (char*)buf<b> :</b> (unsigned int)count;<br />
<p>
Write the encoded data to a PostScript context. Other
output contexts will likely ignore this
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSarc:::::">DPSarc:::::</a></h3>
- (void) <b>DPSarc:</b> (float)x<b> :</b> (float)y<b> :</b> (float)r<b> :</b> (float)angle1<b> :</b> (float)angle2;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSarcn:::::">DPSarcn:::::</a></h3>
- (void) <b>DPSarcn:</b> (float)x<b> :</b> (float)y<b> :</b> (float)r<b> :</b> (float)angle1<b> :</b> (float)angle2;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSarct:::::">DPSarct:::::</a></h3>
- (void) <b>DPSarct:</b> (float)x1<b> :</b> (float)y1<b> :</b> (float)x2<b> :</b> (float)y2<b> :</b> (float)r;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSashow:::">DPSashow:::</a></h3>
- (void) <b>DPSashow:</b> (float)x<b> :</b> (float)y<b> :</b> (const char*)s;<br />
<p>
Displays a string as in the PostScript ashow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations and/or the
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-GSSetCharacterSpacing:">
-GSSetCharacterSpacing:
</a>
method
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSawidthshow::::::">DPSawidthshow::::::</a></h3>
- (void) <b>DPSawidthshow:</b> (float)cx<b> :</b> (float)cy<b> :</b> (int)c<b> :</b> (float)ax<b> :</b> (float)ay<b> :</b> (const char*)s;<br />
<p>
Displays a string as in the PostScript awidthshow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations and/or the
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-GSSetCharacterSpacing:">
-GSSetCharacterSpacing:
</a>
method
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScharpath::">DPScharpath::</a></h3>
- (void) <b>DPScharpath:</b> (const char*)s<b> :</b> (int)b;<br />
<p>
Appends to the current path a path that is
equivalent to the outlines of the glyphs in the
string. This results in a path that can be used for
stroking, filling or clipping
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSclip">DPSclip</a></h3>
- (void) <b>DPSclip</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSclosepath">DPSclosepath</a></h3>
- (void) <b>DPSclosepath</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScomposite::::::::">DPScomposite::::::::</a></h3>
- (void) <b>DPScomposite:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h<b> :</b> (int)gstateNum<b> :</b> (float)dx<b> :</b> (float)dy<b> :</b> (int)op;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScompositerect:::::">DPScompositerect:::::</a></h3>
- (void) <b>DPScompositerect:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h<b> :</b> (int)op;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSconcat:">DPSconcat:</a></h3>
- (void) <b>DPSconcat:</b> (const float*)m;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentalpha:">DPScurrentalpha:</a></h3>
- (void) <b>DPScurrentalpha:</b> (float*)a;<br />
<p>
Returns the current alpha component
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentcmykcolor::::">DPScurrentcmykcolor::::</a></h3>
- (void) <b>DPScurrentcmykcolor:</b> (float*)c<b> :</b> (float*)m<b> :</b> (float*)y<b> :</b> (float*)k;<br />
<p>
Returns the current color according to the CMYK
color model
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentflat:">DPScurrentflat:</a></h3>
- (void) <b>DPScurrentflat:</b> (float*)flatness;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentgray:">DPScurrentgray:</a></h3>
- (void) <b>DPScurrentgray:</b> (float*)gray;<br />
<p>
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 <var>gray</var> value
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrenthsbcolor:::">DPScurrenthsbcolor:::</a></h3>
- (void) <b>DPScurrenthsbcolor:</b> (float*)h<b> :</b> (float*)s<b> :</b> (float*)b;<br />
<p>
Returns the current color according to the HSB
color model.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentlinecap:">DPScurrentlinecap:</a></h3>
- (void) <b>DPScurrentlinecap:</b> (int*)linecap;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentlinejoin:">DPScurrentlinejoin:</a></h3>
- (void) <b>DPScurrentlinejoin:</b> (int*)linejoin;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentlinewidth:">DPScurrentlinewidth:</a></h3>
- (void) <b>DPScurrentlinewidth:</b> (float*)width;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentmiterlimit:">DPScurrentmiterlimit:</a></h3>
- (void) <b>DPScurrentmiterlimit:</b> (float*)limit;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentoffset::">DPScurrentoffset::</a></h3>
- (void) <b>DPScurrentoffset:</b> (int*)x<b> :</b> (int*)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentpoint::">DPScurrentpoint::</a></h3>
- (void) <b>DPScurrentpoint:</b> (float*)x<b> :</b> (float*)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentrgbcolor:::">DPScurrentrgbcolor:::</a></h3>
- (void) <b>DPScurrentrgbcolor:</b> (float*)r<b> :</b> (float*)g<b> :</b> (float*)b;<br />
<p>
Returns the current color according to the RGB
color model
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurrentstrokeadjust:">DPScurrentstrokeadjust:</a></h3>
- (void) <b>DPScurrentstrokeadjust:</b> (int*)b;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPScurveto::::::">DPScurveto::::::</a></h3>
- (void) <b>DPScurveto:</b> (float)x1<b> :</b> (float)y1<b> :</b> (float)x2<b> :</b> (float)y2<b> :</b> (float)x3<b> :</b> (float)y3;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSdissolve::::::::">DPSdissolve::::::::</a></h3>
- (void) <b>DPSdissolve:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h<b> :</b> (int)gstateNum<b> :</b> (float)dx<b> :</b> (float)dy<b> :</b> (float)delta;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSeoclip">DPSeoclip</a></h3>
- (void) <b>DPSeoclip</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSeofill">DPSeofill</a></h3>
- (void) <b>DPSeofill</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSfill">DPSfill</a></h3>
- (void) <b>DPSfill</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSflattenpath">DPSflattenpath</a></h3>
- (void) <b>DPSflattenpath</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSgrestore">DPSgrestore</a></h3>
- (void) <b>DPSgrestore</b>;<br />
<p>
Pops a previously saved gstate from the gstate stack
and makes it current. Drawing information in the
previously saved gstate becomes the current
information
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSgsave">DPSgsave</a></h3>
- (void) <b>DPSgsave</b>;<br />
<p>
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.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSinitclip">DPSinitclip</a></h3>
- (void) <b>DPSinitclip</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSinitgraphics">DPSinitgraphics</a></h3>
- (void) <b>DPSinitgraphics</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSinitmatrix">DPSinitmatrix</a></h3>
- (void) <b>DPSinitmatrix</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSlineto::">DPSlineto::</a></h3>
- (void) <b>DPSlineto:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSmoveto::">DPSmoveto::</a></h3>
- (void) <b>DPSmoveto:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSnewpath">DPSnewpath</a></h3>
- (void) <b>DPSnewpath</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSpathbbox::::">DPSpathbbox::::</a></h3>
- (void) <b>DPSpathbbox:</b> (float*)llx<b> :</b> (float*)lly<b> :</b> (float*)urx<b> :</b> (float*)ury;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrcurveto::::::">DPSrcurveto::::::</a></h3>
- (void) <b>DPSrcurveto:</b> (float)x1<b> :</b> (float)y1<b> :</b> (float)x2<b> :</b> (float)y2<b> :</b> (float)x3<b> :</b> (float)y3;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrectclip::::">DPSrectclip::::</a></h3>
- (void) <b>DPSrectclip:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrectfill::::">DPSrectfill::::</a></h3>
- (void) <b>DPSrectfill:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrectstroke::::">DPSrectstroke::::</a></h3>
- (void) <b>DPSrectstroke:</b> (float)x<b> :</b> (float)y<b> :</b> (float)w<b> :</b> (float)h;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSreversepath">DPSreversepath</a></h3>
- (void) <b>DPSreversepath</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrlineto::">DPSrlineto::</a></h3>
- (void) <b>DPSrlineto:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrmoveto::">DPSrmoveto::</a></h3>
- (void) <b>DPSrmoveto:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSrotate:">DPSrotate:</a></h3>
- (void) <b>DPSrotate:</b> (float)angle;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSscale::">DPSscale::</a></h3>
- (void) <b>DPSscale:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetalpha:">DPSsetalpha:</a></h3>
- (void) <b>DPSsetalpha:</b> (float)a;<br />
<p>
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.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetcmykcolor::::">DPSsetcmykcolor::::</a></h3>
- (void) <b>DPSsetcmykcolor:</b> (float)c<b> :</b> (float)m<b> :</b> (float)y<b> :</b> (float)k;<br />
<p>
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.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetdash:::">DPSsetdash:::</a></h3>
- (void) <b>DPSsetdash:</b> (const float*)pat<b> :</b> (int)size<b> :</b> (float)offset;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetflat:">DPSsetflat:</a></h3>
- (void) <b>DPSsetflat:</b> (float)flatness;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetgray:">DPSsetgray:</a></h3>
- (void) <b>DPSsetgray:</b> (float)gray;<br />
<p>
Sets the current colorspace to Device Gray and the
current <var>gray</var> value
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetgstate:">DPSsetgstate:</a></h3>
- (void) <b>DPSsetgstate:</b> (int)gst;<br />
<p>
Makes the gstate indicated by the tag <var>gst</var>
the current gstate. Note that the gstate is copied, so
that changes to either gstate do not affect the other.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsethalftonephase::">DPSsethalftonephase::</a></h3>
- (void) <b>DPSsethalftonephase:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsethsbcolor:::">DPSsethsbcolor:::</a></h3>
- (void) <b>DPSsethsbcolor:</b> (float)h<b> :</b> (float)s<b> :</b> (float)b;<br />
<p>
Sets the current colorspace to Device RGB and the
current color based on the indicated values
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetlinecap:">DPSsetlinecap:</a></h3>
- (void) <b>DPSsetlinecap:</b> (int)linecap;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetlinejoin:">DPSsetlinejoin:</a></h3>
- (void) <b>DPSsetlinejoin:</b> (int)linejoin;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetlinewidth:">DPSsetlinewidth:</a></h3>
- (void) <b>DPSsetlinewidth:</b> (float)width;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetmiterlimit:">DPSsetmiterlimit:</a></h3>
- (void) <b>DPSsetmiterlimit:</b> (float)limit;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetoffset::">DPSsetoffset::</a></h3>
- (void) <b>DPSsetoffset:</b> (short int)x<b> :</b> (short int)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetrgbcolor:::">DPSsetrgbcolor:::</a></h3>
- (void) <b>DPSsetrgbcolor:</b> (float)r<b> :</b> (float)g<b> :</b> (float)b;<br />
<p>
Sets the current colorspace to Device RGB and the
current color based on the indicated values
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSsetstrokeadjust:">DPSsetstrokeadjust:</a></h3>
- (void) <b>DPSsetstrokeadjust:</b> (int)b;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSshow:">DPSshow:</a></h3>
- (void) <b>DPSshow:</b> (const char*)s;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSstroke">DPSstroke</a></h3>
- (void) <b>DPSstroke</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPStranslate::">DPStranslate::</a></h3>
- (void) <b>DPStranslate:</b> (float)x<b> :</b> (float)y;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSwidthshow::::">DPSwidthshow::::</a></h3>
- (void) <b>DPSwidthshow:</b> (float)x<b> :</b> (float)y<b> :</b> (int)c<b> :</b> (const char*)s;<br />
<p>
Displays a string as in the PostScript widthshow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSxshow:::">DPSxshow:::</a></h3>
- (void) <b>DPSxshow:</b> (const char*)s<b> :</b> (const float*)numarray<b> :</b> (int)size;<br />
<p>
Displays a string as in the PostScript widthshow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSxyshow:::">DPSxyshow:::</a></h3>
- (void) <b>DPSxyshow:</b> (const char*)s<b> :</b> (const float*)numarray<b> :</b> (int)size;<br />
<p>
Displays a string as in the PostScript xyshow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-DPSyshow:::">DPSyshow:::</a></h3>
- (void) <b>DPSyshow:</b> (const char*)s<b> :</b> (const float*)numarray<b> :</b> (int)size;<br />
<p>
Displays a string as in the PostScript yshow
operator. This operator is obsolete. You should
instead use
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSshow:">
-DPSshow:
</a>
with appropriate
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSrmoveto:">
-DPSrmoveto:
</a>
operations.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSConcatCTM:">GSConcatCTM:</a></h3>
- (void) <b>GSConcatCTM:</b> (<a rel="gsdoc" href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*)ctm;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSCurrentCTM">GSCurrentCTM</a></h3>
- (<a rel="gsdoc" href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*) <b>GSCurrentCTM</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSCurrentDevice:::">GSCurrentDevice:::</a></h3>
- (void) <b>GSCurrentDevice:</b> (void**)device<b> :</b> (int*)x<b> :</b> (int*)y;<br />
<p>
This is a private method used between the window
server and the context. It should not be used in any
application. Typically used by the window
server to find out what window the context is
drawing graphics to. The <var>device</var> pointer
is an opaque type that contains information about the
window. The <var>x</var> and <var>y</var> pointers
indicate the offset of the origin of the window
from the lower left-hand corner
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSDefineGState">GSDefineGState</a></h3>
- (int) <b>GSDefineGState</b>;<br />
<p>
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
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-DPSsetgstate:">
-DPSsetgstate:
</a>
to set the gstate as being current again.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSDrawImage::">GSDrawImage::</a></h3>
- (void) <b>GSDrawImage:</b> (NSRect)rect<b> :</b> (void*)imageref;<br />
<p>
Generic method to draw an image into a
<var>rect</var>. The image is defined by
<var>imageref</var>, an opaque structure. Support for
this method hasn't been implemented yet, so it should
not be used anywhere.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSGetTextCTM">GSGetTextCTM</a></h3>
- (<a rel="gsdoc" href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*) <b>GSGetTextCTM</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSGetTextPosition">GSGetTextPosition</a></h3>
- (NSPoint) <b>GSGetTextPosition</b>;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSRectClipList::">GSRectClipList::</a></h3>
- (void) <b>GSRectClipList:</b> (const NSRect*)rects<b> :</b> (int)count;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSRectFillList::">GSRectFillList::</a></h3>
- (void) <b>GSRectFillList:</b> (const NSRect*)rects<b> :</b> (int)count;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSReplaceGState:">GSReplaceGState:</a></h3>
- (void) <b>GSReplaceGState:</b> (int)gst;<br />
<p>
Replaces the gstate refered to by the tag
<var>gst</var> with the current gstate. The former
gstate is destroyed.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSendBezierPath:">GSSendBezierPath:</a></h3>
- (void) <b>GSSendBezierPath:</b> (<a rel="gsdoc" href="NSBezierPath.html#class$NSBezierPath">NSBezierPath</a>*)path;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetCTM:">GSSetCTM:</a></h3>
- (void) <b>GSSetCTM:</b> (<a rel="gsdoc" href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*)ctm;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetCharacterSpacing:">GSSetCharacterSpacing:</a></h3>
- (void) <b>GSSetCharacterSpacing:</b> (float)extra;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetDevice:::">GSSetDevice:::</a></h3>
- (void) <b>GSSetDevice:</b> (void*)device<b> :</b> (int)x<b> :</b> (int)y;<br />
<p>
This is a private method used between the window
server and the context. It should not be used in any
application. Typically called by the window
server to tell the context what window it should
draw graphics to. The <var>device</var> pointer is an
opaque type that contains information about the
window. The <var>x</var> and <var>y</var> values
tell the context that it should put the origin of the
transform matrix at the indicated <var>x</var>
and <var>y</var> values from the lower left-hand corner
of the window
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetFillColor:">GSSetFillColor:</a></h3>
- (void) <b>GSSetFillColor:</b> (float*)values;<br />
<p>
Sets the current color for fill operations. The
<var>values</var> array should have n components,
where n corresponds to the number of color components
required to specify the color in the current
colorspace.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetFillColorspace:">GSSetFillColorspace:</a></h3>
- (void) <b>GSSetFillColorspace:</b> (NSDictionary*)dict;<br />
<p>
</p>
<p>
Sets the colorspace for fill operations based on
values in the supplied dictionary <var>dict</var>.
</p>
<p>
</p>
<p>
For device colorspaces (GSDeviceGray, GSDeviceRGB,
GSDeviceCMYK), only the name of the
colorspace needs to be set using the
GSColorSpaceName key.
</p>
<p>
</p>
<p>
Other colorspaces will be documented later </p>
<p>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetFont:">GSSetFont:</a></h3>
- (void) <b>GSSetFont:</b> (<a rel="gsdoc" href="NSFont.html#class$NSFont">NSFont</a>*)font;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetFontSize:">GSSetFontSize:</a></h3>
- (void) <b>GSSetFontSize:</b> (float)size;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetStrokeColor:">GSSetStrokeColor:</a></h3>
- (void) <b>GSSetStrokeColor:</b> (float*)values;<br />
<p>
Sets the current color for stroke operations. The
<var>values</var> array should have n components,
where n corresponds to the number of color components
required to specify the color in the current
colorspace.
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetStrokeColorspace:">GSSetStrokeColorspace:</a></h3>
- (void) <b>GSSetStrokeColorspace:</b> (NSDictionary*)dict;<br />
<p>
Sets the colorspace for stroke operations based on the
values in the supplied dictionary. See
<a rel="gsdoc" href="#method$NSGraphicsContext(Ops)-GSSetFillColorspace:">
-GSSetFillColorspace:
</a>
for a description of the values that need to be
supplied
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetTextCTM:">GSSetTextCTM:</a></h3>
- (void) <b>GSSetTextCTM:</b> (<a rel="gsdoc" href="NSAffineTransform.html#class$NSAffineTransform">NSAffineTransform</a>*)ctm;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetTextDrawingMode:">GSSetTextDrawingMode:</a></h3>
- (void) <b>GSSetTextDrawingMode:</b> (<a rel="gsdoc" href="TypesAndConstants.html#type$GSTextDrawingMode">GSTextDrawingMode</a>)mode;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSSetTextPosition:">GSSetTextPosition:</a></h3>
- (void) <b>GSSetTextPosition:</b> (NSPoint)loc;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSShowGlyphs::">GSShowGlyphs::</a></h3>
- (void) <b>GSShowGlyphs:</b> (const <a rel="gsdoc" href="TypesAndConstants.html#type$NSGlyph">NSGlyph</a>*)glyphs<b> :</b> (size_t)length;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSShowText::">GSShowText::</a></h3>
- (void) <b>GSShowText:</b> (const char*)string<b> :</b> (size_t)length;<br />
<p>
<em>Description forthcoming.</em>
</p>
<hr width="25%" align="left" />
<h3><a name="method$NSGraphicsContext-GSUndefineGState:">GSUndefineGState:</a></h3>
- (void) <b>GSUndefineGState:</b> (int)gst;<br />
<p>
Disassociates the tag <var>gst</var> 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.
</p>
<hr width="25%" align="left" />
<br />
<a href="Gui.html">Up</a>
</body>
</html>