NSGraphicsContext
richard@brainstorm.co.uk
fedor@gnu.org
GNUstep drawing context class.
1998,1999 Free Software Foundation, Inc.
Software documentation for the NSGraphicsContext class
AppKit/NSGraphicsContext.h
currentContext
currentContextDrawingToScreen
graphicsContextWithAttributes:
info
graphicsContextWithWindow:
aWindow
restoreGraphicsState
saveGraphicsState
setCurrentContext:
context
setGraphicsState:
graphicsState
waitAllContexts
attributes
flush
flushGraphics
graphicsPort
isDrawingToScreen
restoreGraphicsState
saveGraphicsState
wait
Software documentation for the
NSGraphicsContext(GNUstep) category
AppKit/NSGraphicsContext.h
defaultContextWithInfo:
info
setDefaultContextClass:
defaultContextClass
_addDragTypes:
types
toWindow:
win
_dragInfo
_dragTypesForWindow:
win
_postExternalEvent:
event
_removeDragTypes:
types
fromWindow:
win
destroyContext
focusView
initWithContextInfo:
info
lockFocusView:
aView
inRect:
rect
mutableData
resetUsedFonts
unlockFocusView:
aView
needsFlush:
flush
useFont:
fontName
usedFonts
Software documentation for the
NSGraphicsContext(NSGraphics)
category
AppKit/NSGraphicsContext.h
initializeBackend
GSAvailableDepthsForScreen:
screen
GSWDefineAsUserObj
GSWSetViewIsFlipped:
flipped
GSWViewIsFlipped
GSWindowDepthForScreen:
screen
NSBeep
NSCopyBitmapFromGState:
srcGstate
:
srcRect
:
destRect
NSCopyBits:
srcGstate
:
srcRect
:
destPoint
NSDottedFrameRect:
aRect
NSDrawBitmap:
rect
:
pixelsWide
:
pixelsHigh
:
bitsPerSample
:
samplesPerPixel
:
bitsPerPixel
:
bytesPerRow
:
isPlanar
:
hasAlpha
:
colorSpaceName
:
data
NSEraseRect:
aRect
NSFrameRect:
aRect
NSFrameRectWithWidth:
aRect
:
frameWidth
NSHighlightRect:
aRect
NSReadPixel:
location
NSRectClip:
aRect
NSRectClipList:
rects
:
count
NSRectFill:
aRect
NSRectFillList:
rects
:
count
NSRectFillListWithGrays:
rects
:
grays
:
count
NSRectFillUsingOperation:
aRect
:
op
Software documentation for the NSGraphicsContext(Ops)
category
AppKit/NSGraphicsContext.h
DPSDiscardEventsMatchingMask:
mask
beforeEvent:
limit
DPSFontDirectory
DPSGetEventMatchingMask:
mask
beforeDate:
limit
inMode:
mode
dequeue:
flag
DPSISOLatin1Encoding
DPSPostEvent:
anEvent
atStart:
flag
DPSPrintf:
fmt
:
args
DPSSharedFontDirectory
DPSStandardEncoding
DPSWriteData:
buf
:
count
DPSalphaimage
DPSarc:
x
:
y
:
r
:
angle1
:
angle2
DPSarcn:
x
:
y
:
r
:
angle1
:
angle2
DPSarct:
x1
:
y1
:
x2
:
y2
:
r
DPSarcto:
x1
:
y1
:
x2
:
y2
:
r
:
xt1
:
yt1
:
xt2
:
yt2
DPSashow:
x
:
y
:
s
DPSawidthshow:
cx
:
cy
:
c
:
ax
:
ay
:
s
DPScapturegstate:
gst
DPScapturemouse:
win
DPScharpath:
s
:
b
DPSclear
DPScleartomark
DPSclip
DPSclippath
DPSclosepath
DPScolorimage
DPScomposite:
x
:
y
:
w
:
h
:
gstateNum
:
dx
:
dy
:
op
DPScompositerect:
x
:
y
:
w
:
h
:
op
DPSconcat:
m
DPSconcatmatrix
DPScopy:
n
DPScopypage
DPScount:
n
DPScountscreenlist:
context
:
count
DPScounttomark:
n
DPScountwindowlist:
context
:
count
DPScurrentalpha:
alpha
DPScurrentcacheparams
DPScurrentcmykcolor:
c
:
m
:
y
:
k
DPScurrentdash
DPScurrentdefaultdepthlimit:
limit
DPScurrentdrawingfunction:
function
DPScurrentflat:
flatness
DPScurrentfont
DPScurrentgcdrawable:
gc
:
draw
:
x
:
y
DPScurrentgcdrawablecolor:
gc
:
draw
:
x
:
y
:
colorInfo
DPScurrentgray:
gray
DPScurrentgstate:
gst
DPScurrenthalftone
DPScurrenthalftonephase:
x
:
y
DPScurrenthsbcolor:
h
:
s
:
b
DPScurrentlinecap:
linecap
DPScurrentlinejoin:
linejoin
DPScurrentlinewidth:
width
DPScurrentmatrix
DPScurrentmiterlimit:
limit
DPScurrentoffset:
x
:
y
DPScurrentowner:
win
:
owner
DPScurrentpoint:
x
:
y
DPScurrentrgbcolor:
r
:
g
:
b
DPScurrentscreen
DPScurrentserverdevice:
serverptr
DPScurrentstrokeadjust:
b
DPScurrenttransfer
DPScurrentwindow:
num
DPScurrentwindowalpha:
win
:
alpha
DPScurrentwindowbounds:
num
:
x
:
y
:
w
:
h
DPScurrentwindowdepth:
win
:
depth
DPScurrentwindowdepthlimit:
win
:
limit
DPScurrentwindowdevice:
win
:
windowptr
DPScurrentwindowlevel:
win
:
level
DPScurveto:
x1
:
y1
:
x2
:
y2
:
x3
:
y3
DPSdefaultmatrix
DPSdefinefont
DPSdefineuserobject
DPSdissolve:
x
:
y
:
w
:
h
:
gstateNum
:
dx
:
dy
:
delta
DPSdocedited:
edited
:
window
DPSdtransform:
x1
:
y1
:
x2
:
y2
DPSdup
DPSeoclip
DPSeofill
DPSeoviewclip
DPSerasepage
DPSexch
DPSexecstack
DPSexecuserobject:
index
DPSfill
DPSfindfont:
name
DPSfindwindow:
x
:
y
:
op
:
otherWin
:
lx
:
ly
:
winFound
:
didFind
DPSflattenpath
DPSflush
DPSflushwindowrect:
x
:
y
:
w
:
h
:
win
DPSfrontwindow:
num
DPSget
DPSgetboolean:
it
DPSgetchararray:
size
:
s
DPSgetfloat:
it
DPSgetfloatarray:
size
:
a
DPSgetint:
it
DPSgetintarray:
size
:
a
DPSgetstring:
s
DPSgrestore
DPSgrestoreall
DPSgsave
DPSgstate
DPShidecursor
DPSidentmatrix
DPSidtransform:
x1
:
y1
:
x2
:
y2
DPSimage
DPSimagecursor:
hotx
:
hoty
:
w
:
h
:
colors
:
image
:
cid
DPSimagemask
DPSindex:
i
DPSinitclip
DPSinitgraphics
DPSinitmatrix
DPSinitviewclip
DPSinvertmatrix
DPSitransform:
x1
:
y1
:
x2
:
y2
DPSkshow:
s
DPSlineto:
x
:
y
DPSmakefont
DPSmark
DPSmatrix
DPSminiwindow:
num
DPSmouselocation:
x
:
y
DPSmoveto:
x
:
y
DPSmovewindow:
x
:
y
:
num
DPSnewpath
DPSnull
DPSorderwindow:
op
:
otherWin
:
winNum
DPSpathbbox:
llx
:
lly
:
urx
:
ury
DPSpathforall
DPSplacewindow:
x
:
y
:
w
:
h
:
win
DPSpop
DPSput
DPSrcurveto:
x1
:
y1
:
x2
:
y2
:
x3
:
y3
DPSreadimage
DPSrectclip:
x
:
y
:
w
:
h
DPSrectfill:
x
:
y
:
w
:
h
DPSrectstroke:
x
:
y
:
w
:
h
DPSrectviewclip:
x
:
y
:
w
:
h
DPSreleasemouse
DPSrestore
DPSreversepath
DPSrlineto:
x
:
y
DPSrmoveto:
x
:
y
DPSroll:
n
:
j
DPSrotate:
angle
DPSsave
DPSscale:
x
:
y
DPSscalefont:
size
DPSscreenlist:
context
:
count
:
windows
DPSselectfont:
name
:
scale
DPSsendboolean:
it
DPSsendchararray:
s
:
size
DPSsendfloat:
it
DPSsendfloatarray:
a
:
size
DPSsendint:
it
DPSsendintarray:
a
:
size
DPSsendstring:
s
DPSsetalpha:
a
DPSsetautofill:
truth
:
num
DPSsetbbox:
llx
:
lly
:
urx
:
ury
DPSsetcmykcolor:
c
:
m
:
y
:
k
DPSsetcursorcolor:
fr
:
fg
:
fb
:
br
:
bg
:
bb
:
cid
DPSsetdash:
pat
:
size
:
offset
DPSsetdefaultdepthlimit:
limit
DPSsetdrawingfunction:
function
DPSsetexposurecolor
DPSsetflat:
flatness
DPSsetfont:
f
DPSsetgcdrawable:
gc
:
draw
:
x
:
y
DPSsetgcdrawablecolor:
gc
:
draw
:
x
:
y
:
colorInfo
DPSsetgray:
gray
DPSsetgstate:
gst
DPSsethalftone
DPSsethalftonephase:
x
:
y
DPSsethsbcolor:
h
:
s
:
b
DPSsetinputfocus:
win
DPSsetinputstate:
window
:
state
DPSsetlinecap:
linecap
DPSsetlinejoin:
linejoin
DPSsetlinewidth:
width
DPSsetmatrix
DPSsetmaxsize:
width
:
height
:
win
DPSsetminsize:
width
:
height
:
win
DPSsetmiterlimit:
limit
DPSsetoffset:
x
:
y
DPSsetowner:
owner
:
win
DPSsetresizeincrements:
width
:
height
:
win
DPSsetrgbactual:
r
:
g
:
b
:
success
DPSsetrgbcolor:
r
:
g
:
b
DPSsetscreen
DPSsetsendexposed:
truth
:
num
DPSsetstrokeadjust:
b
DPSsettransfer
DPSsetwindowdepthlimit:
limit
:
win
DPSsetwindowlevel:
level
:
win
DPSsetwindowtype:
type
:
win
DPSshow:
s
DPSshowcursor
DPSshowpage
DPSstandardcursor:
style
:
cid
DPSstroke
DPSstrokepath
DPSstyleoffsets:
l
:
r
:
t
:
b
:
style
DPSstylewindow:
style
:
num
DPStermwindow:
num
DPStitlewindow:
window_title
:
num
DPStransform:
x1
:
y1
:
x2
:
y2
DPStranslate:
x
:
y
DPSueofill:
nums
:
n
:
op
:
l
DPSufill:
nums
:
n
:
ops
:
l
DPSundefinefont:
name
DPSundefineuserobject:
index
DPSupdatewindow:
win
DPSustroke:
nums
:
n
:
ops
:
l
DPSustrokepath:
nums
:
n
:
ops
:
l
DPSviewclip
DPSviewclippath
DPSwidthshow:
x
:
y
:
c
:
s
DPSwindow:
x
:
y
:
w
:
h
:
type
:
num
DPSwindowdevice:
num
DPSwindowdeviceround:
num
DPSwindowlist:
context
:
count
:
windows
DPSxshow:
s
:
numarray
:
size
DPSxyshow:
s
:
numarray
:
size
DPSyshow:
s
:
numarray
:
size
setFont:
font