[Up]

DPSOperators

Authors

Adam Fedor

Version: 0.1

Date: 21 April, 2000

DPSOperators

DPSOperators declares functions that are used for drawing text and graphics and low-level window and event operations. For the most part the window and event functions are not meant to be used in a normal application, it is better to use the methods in the GNUstep GUI library that coorespond to these functions.

All DPSOperator functions take as their first argument a context opject of type NSGraphicsContext. To get the current context, one can use the function GSCurrentContext().

DPScurrentcmykcolor

Prototype: void DPScurrentcmykcolor(GSCTXT * ctxt, float * c, float * m, float * y, float * k)

DPSsetcmykcolor

Prototype: void DPSsetcmykcolor(GSCTXT * ctxt, float c, float m, float y, float k)

DPSclear

Prototype: void DPSclear(GSCTXT * ctxt)

DPScleartomark

Prototype: void DPScleartomark(GSCTXT * ctxt)

DPScopy

Prototype: void DPScopy(GSCTXT * ctxt, int n)

DPScount

Prototype: void DPScount(GSCTXT * ctxt, int * n)

DPScounttomark

Prototype: void DPScounttomark(GSCTXT * ctxt, int * n)

DPSdup

Prototype: void DPSdup(GSCTXT * ctxt)

DPSexch

Prototype: void DPSexch(GSCTXT * ctxt)

DPSexecstack

Prototype: void DPSexecstack(GSCTXT * ctxt)

DPSget

Prototype: void DPSget(GSCTXT * ctxt)

DPSindex

Prototype: void DPSindex(GSCTXT * ctxt, int i)

DPSmark

Prototype: void DPSmark(GSCTXT * ctxt)

DPSmatrix

Prototype: void DPSmatrix(GSCTXT * ctxt)

DPSnull

Prototype: void DPSnull(GSCTXT * ctxt)

DPSpop

Prototype: void DPSpop(GSCTXT * ctxt)

DPSput

Prototype: void DPSput(GSCTXT * ctxt)

DPSroll

Prototype: void DPSroll(GSCTXT * ctxt, int n, int j)

DPSFontDirectory

Prototype: void DPSFontDirectory(GSCTXT * ctxt)

DPSISOLatin1Encoding

Prototype: void DPSISOLatin1Encoding(GSCTXT * ctxt)

DPSSharedFontDirectory

Prototype: void DPSSharedFontDirectory(GSCTXT * ctxt)

DPSStandardEncoding

Prototype: void DPSStandardEncoding(GSCTXT * ctxt)

DPScurrentcacheparams

Prototype: void DPScurrentcacheparams(GSCTXT * ctxt)

DPScurrentfont

Prototype: void DPScurrentfont(GSCTXT * ctxt)

DPSdefinefont

Prototype: void DPSdefinefont(GSCTXT * ctxt)

DPSfindfont

Prototype: void DPSfindfont(GSCTXT * ctxt, const char * name)

DPSmakefont

Prototype: void DPSmakefont(GSCTXT * ctxt)

DPSscalefont

Prototype: void DPSscalefont(GSCTXT * ctxt, float size)

DPSselectfont

Prototype: void DPSselectfont(GSCTXT * ctxt, const char * name, float scale)

DPSsetfont

Prototype: void DPSsetfont(GSCTXT * ctxt, int f)

DPSundefinefont

Prototype: void DPSundefinefont(GSCTXT * ctxt, const char * name)

DPSconcat

Prototype: void DPSconcat(GSCTXT * ctxt, const float m[])

DPScurrentdash

Prototype: void DPScurrentdash(GSCTXT * ctxt)

DPScurrentflat

Prototype: void DPScurrentflat(GSCTXT * ctxt, float * flatness)

DPScurrentgray

Prototype: void DPScurrentgray(GSCTXT * ctxt, float * gray)

DPScurrentgstate

Prototype: void DPScurrentgstate(GSCTXT * ctxt, int gst)

DPScurrenthalftone

Prototype: void DPScurrenthalftone(GSCTXT * ctxt)

DPScurrenthalftonephase

Prototype: void DPScurrenthalftonephase(GSCTXT * ctxt, float * x, float * y)

DPScurrenthsbcolor

Prototype: void DPScurrenthsbcolor(GSCTXT * ctxt, float * h, float * s, float * b)

DPScurrentlinecap

Prototype: void DPScurrentlinecap(GSCTXT * ctxt, int * linecap)

DPScurrentlinejoin

Prototype: void DPScurrentlinejoin(GSCTXT * ctxt, int * linejoin)

DPScurrentlinewidth

Prototype: void DPScurrentlinewidth(GSCTXT * ctxt, float * width)

DPScurrentmatrix

Prototype: void DPScurrentmatrix(GSCTXT * ctxt)

DPScurrentmiterlimit

Prototype: void DPScurrentmiterlimit(GSCTXT * ctxt, float * limit)

DPScurrentpoint

Prototype: void DPScurrentpoint(GSCTXT * ctxt, float * x, float * y)

DPScurrentrgbcolor

Prototype: void DPScurrentrgbcolor(GSCTXT * ctxt, float * r, float * g, float * b)

DPScurrentscreen

Prototype: void DPScurrentscreen(GSCTXT * ctxt)

DPScurrentstrokeadjust

Prototype: void DPScurrentstrokeadjust(GSCTXT * ctxt, int * b)

DPScurrenttransfer

Prototype: void DPScurrenttransfer(GSCTXT * ctxt)

DPSdefaultmatrix

Prototype: void DPSdefaultmatrix(GSCTXT * ctxt)

DPSgrestore

Prototype: void DPSgrestore(GSCTXT * ctxt)

DPSgrestoreall

Prototype: void DPSgrestoreall(GSCTXT * ctxt)

DPSgsave

Prototype: void DPSgsave(GSCTXT * ctxt)

DPSgstate

Prototype: void DPSgstate(GSCTXT * ctxt)

DPSinitgraphics

Prototype: void DPSinitgraphics(GSCTXT * ctxt)

DPSinitmatrix

Prototype: void DPSinitmatrix(GSCTXT * ctxt)

DPSrotate

Prototype: void DPSrotate(GSCTXT * ctxt, float angle)

DPSscale

Prototype: void DPSscale(GSCTXT * ctxt, float x, float y)

DPSsetdash

Prototype: void DPSsetdash(GSCTXT * ctxt, const float pat[], int size, float offset)

DPSsetflat

Prototype: void DPSsetflat(GSCTXT * ctxt, float flatness)

DPSsetgray

Prototype: void DPSsetgray(GSCTXT * ctxt, float gray)

DPSsetgstate

Prototype: void DPSsetgstate(GSCTXT * ctxt, int gst)

DPSsethalftone

Prototype: void DPSsethalftone(GSCTXT * ctxt)

DPSsethalftonephase

Prototype: void DPSsethalftonephase(GSCTXT * ctxt, float x, float y)

DPSsethsbcolor

Prototype: void DPSsethsbcolor(GSCTXT * ctxt, float h, float s, float b)

DPSsetlinecap

Prototype: void DPSsetlinecap(GSCTXT * ctxt, int linecap)

DPSsetlinejoin

Prototype: void DPSsetlinejoin(GSCTXT * ctxt, int linejoin)

DPSsetlinewidth

Prototype: void DPSsetlinewidth(GSCTXT * ctxt, float width)

DPSsetmatrix

Prototype: void DPSsetmatrix(GSCTXT * ctxt)

DPSsetmiterlimit

Prototype: void DPSsetmiterlimit(GSCTXT * ctxt, float limit)

DPSsetrgbcolor

Prototype: void DPSsetrgbcolor(GSCTXT * ctxt, float r, float g, float b)

DPSsetscreen

Prototype: void DPSsetscreen(GSCTXT * ctxt)

DPSsetstrokeadjust

Prototype: void DPSsetstrokeadjust(GSCTXT * ctxt, int b)

DPSsettransfer

Prototype: void DPSsettransfer(GSCTXT * ctxt)

DPStranslate

Prototype: void DPStranslate(GSCTXT * ctxt, float x, float y)

DPSflush

Prototype: void DPSflush(GSCTXT * ctxt)

DPSconcatmatrix

Prototype: void DPSconcatmatrix(GSCTXT * ctxt)

DPSdtransform

Prototype: void DPSdtransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSidentmatrix

Prototype: void DPSidentmatrix(GSCTXT * ctxt)

DPSidtransform

Prototype: void DPSidtransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSinvertmatrix

Prototype: void DPSinvertmatrix(GSCTXT * ctxt)

DPSitransform

Prototype: void DPSitransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPStransform

Prototype: void DPStransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSdefineuserobject

Prototype: void DPSdefineuserobject(GSCTXT * ctxt)

DPSexecuserobject

Prototype: void DPSexecuserobject(GSCTXT * ctxt, int index)

DPSundefineuserobject

Prototype: void DPSundefineuserobject(GSCTXT * ctxt, int index)

DPSgetboolean

Prototype: void DPSgetboolean(GSCTXT * ctxt, int * it)

DPSgetchararray

Prototype: void DPSgetchararray(GSCTXT * ctxt, int size, char s[])

DPSgetfloat

Prototype: void DPSgetfloat(GSCTXT * ctxt, float * it)

DPSgetfloatarray

Prototype: void DPSgetfloatarray(GSCTXT * ctxt, int size, float a[])

DPSgetint

Prototype: void DPSgetint(GSCTXT * ctxt, int * it)

DPSgetintarray

Prototype: void DPSgetintarray(GSCTXT * ctxt, int size, int a[])

DPSgetstring

Prototype: void DPSgetstring(GSCTXT * ctxt, char * s)

DPSsendboolean

Prototype: void DPSsendboolean(GSCTXT * ctxt, int it)

DPSsendchararray

Prototype: void DPSsendchararray(GSCTXT * ctxt, const char s[], int size)

DPSsendfloat

Prototype: void DPSsendfloat(GSCTXT * ctxt, float it)

DPSsendfloatarray

Prototype: void DPSsendfloatarray(GSCTXT * ctxt, const float a[], int size)

DPSsendint

Prototype: void DPSsendint(GSCTXT * ctxt, int it)

DPSsendintarray

Prototype: void DPSsendintarray(GSCTXT * ctxt, const int a[], int size)

DPSsendstring

Prototype: void DPSsendstring(GSCTXT * ctxt, const char * s)

DPSashow

Prototype: void DPSashow(GSCTXT * ctxt, float x, float y, const char * s)

DPSawidthshow

Prototype: void DPSawidthshow(GSCTXT * ctxt, float cx, float cy, int c, float ax, float ay, const char * s)

DPScopypage

Prototype: void DPScopypage(GSCTXT * ctxt)

DPSeofill

Prototype: void DPSeofill(GSCTXT * ctxt)

DPSerasepage

Prototype: void DPSerasepage(GSCTXT * ctxt)

DPSfill

Prototype: void DPSfill(GSCTXT * ctxt)

DPSimage

Prototype: void DPSimage(GSCTXT * ctxt)

DPSimagemask

Prototype: void DPSimagemask(GSCTXT * ctxt)

DPScolorimage

Prototype: void DPScolorimage(GSCTXT * ctxt)

DPSalphaimage

Prototype: void DPSalphaimage(GSCTXT * ctxt)

DPSkshow

Prototype: void DPSkshow(GSCTXT * ctxt, const char * s)

DPSrectfill

Prototype: void DPSrectfill(GSCTXT * ctxt, float x, float y, float w, float h)

DPSrectstroke

Prototype: void DPSrectstroke(GSCTXT * ctxt, float x, float y, float w, float h)

DPSshow

Prototype: void DPSshow(GSCTXT * ctxt, const char * s)

DPSshowpage

Prototype: void DPSshowpage(GSCTXT * ctxt)

DPSstroke

Prototype: void DPSstroke(GSCTXT * ctxt)

DPSstrokepath

Prototype: void DPSstrokepath(GSCTXT * ctxt)

DPSueofill

Prototype: void DPSueofill(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSufill

Prototype: void DPSufill(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSustroke

Prototype: void DPSustroke(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSustrokepath

Prototype: void DPSustrokepath(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSwidthshow

Prototype: void DPSwidthshow(GSCTXT * ctxt, float x, float y, int c, const char * s)

DPSxshow

Prototype: void DPSxshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSxyshow

Prototype: void DPSxyshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSyshow

Prototype: void DPSyshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSarc

Prototype: void DPSarc(GSCTXT * ctxt, float x, float y, float r, float angle1, float angle2)

DPSarcn

Prototype: void DPSarcn(GSCTXT * ctxt, float x, float y, float r, float angle1, float angle2)

DPSarct

Prototype: void DPSarct(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float r)

DPSarcto

Prototype: void DPSarcto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float r, float * xt1, float * yt1, float * xt2, float * yt2)

DPScharpath

Prototype: void DPScharpath(GSCTXT * ctxt, const char * s, int b)

DPSclip

Prototype: void DPSclip(GSCTXT * ctxt)

DPSclippath

Prototype: void DPSclippath(GSCTXT * ctxt)

DPSclosepath

Prototype: void DPSclosepath(GSCTXT * ctxt)

DPScurveto

Prototype: void DPScurveto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float x3, float y3)

DPSeoclip

Prototype: void DPSeoclip(GSCTXT * ctxt)

DPSeoviewclip

Prototype: void DPSeoviewclip(GSCTXT * ctxt)

DPSflattenpath

Prototype: void DPSflattenpath(GSCTXT * ctxt)

DPSinitclip

Prototype: void DPSinitclip(GSCTXT * ctxt)

DPSinitviewclip

Prototype: void DPSinitviewclip(GSCTXT * ctxt)

DPSlineto

Prototype: void DPSlineto(GSCTXT * ctxt, float x, float y)

DPSmoveto

Prototype: void DPSmoveto(GSCTXT * ctxt, float x, float y)

DPSnewpath

Prototype: void DPSnewpath(GSCTXT * ctxt)

DPSpathbbox

Prototype: void DPSpathbbox(GSCTXT * ctxt, float * llx, float * lly, float * urx, float * ury)

DPSpathforall

Prototype: void DPSpathforall(GSCTXT * ctxt)

DPSrcurveto

Prototype: void DPSrcurveto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float x3, float y3)

DPSrectclip

Prototype: void DPSrectclip(GSCTXT * ctxt, float x, float y, float w, float h)

DPSrectviewclip

Prototype: void DPSrectviewclip(GSCTXT * ctxt, float x, float y, float w, float h)

DPSreversepath

Prototype: void DPSreversepath(GSCTXT * ctxt)

DPSrlineto

Prototype: void DPSrlineto(GSCTXT * ctxt, float x, float y)

DPSrmoveto

Prototype: void DPSrmoveto(GSCTXT * ctxt, float x, float y)

DPSsetbbox

Prototype: void DPSsetbbox(GSCTXT * ctxt, float llx, float lly, float urx, float ury)

DPSviewclip

Prototype: void DPSviewclip(GSCTXT * ctxt)

DPSviewclippath

Prototype: void DPSviewclippath(GSCTXT * ctxt)

DPScurrentdrawingfunction

Prototype: void DPScurrentdrawingfunction(GSCTXT * ctxt, int * function)

DPScurrentgcdrawable

Prototype: void DPScurrentgcdrawable(GSCTXT * ctxt, void* * gc, void* * draw, int * x, int * y)

DPScurrentgcdrawablecolor

Prototype: void DPScurrentgcdrawablecolor(GSCTXT * ctxt, void* * gc, void* * draw, int * x, int * y, int colorInfo[])

DPScurrentoffset

Prototype: void DPScurrentoffset(GSCTXT * ctxt, int * x, int * y)

DPSsetdrawingfunction

Prototype: void DPSsetdrawingfunction(GSCTXT * ctxt, int function)

DPSsetgcdrawable

Prototype: void DPSsetgcdrawable(GSCTXT * ctxt, void* gc, void* draw, int x, int y)

DPSsetgcdrawablecolor

Prototype: void DPSsetgcdrawablecolor(GSCTXT * ctxt, void* gc, void* draw, int x, int y, const int colorInfo[])

DPSsetoffset

Prototype: void DPSsetoffset(GSCTXT * ctxt, short int x, short int y)

DPSsetrgbactual

Prototype: void DPSsetrgbactual(GSCTXT * ctxt, double r, double g, double b, int * success)

DPScapturegstate

Prototype: void DPScapturegstate(GSCTXT * ctxt, int * gst)

DPScomposite

Prototype: void DPScomposite(GSCTXT * ctxt, float x, float y, float w, float h, int gstateNum, float dx, float dy, int op)

DPScompositerect

Prototype: void DPScompositerect(GSCTXT * ctxt, float x, float y, float w, float h, int op)

DPSdissolve

Prototype: void DPSdissolve(GSCTXT * ctxt, float x, float y, float w, float h, int gstateNum, float dx, float dy, float delta)

DPSreadimage

Prototype: void DPSreadimage(GSCTXT * ctxt)

DPSsetalpha

Prototype: void DPSsetalpha(GSCTXT * ctxt, float a)

DPScurrentalpha

Prototype: void DPScurrentalpha(GSCTXT * ctxt, float * alpha)

DPSwindow

Prototype: void DPSwindow(GSCTXT * ctxt, float x, float y, float w, float h, int type, int * num)

DPStermwindow

Prototype: void DPStermwindow(GSCTXT * ctxt, int num)

DPSstylewindow

Prototype: void DPSstylewindow(GSCTXT * ctxt, int style, int num)

DPStitlewindow

Prototype: void DPStitlewindow(GSCTXT * ctxt, const char * window_title, int num)

DPSminiwindow

Prototype: void DPSminiwindow(GSCTXT * ctxt, int num)

DPSwindowdevice

Prototype: void DPSwindowdevice(GSCTXT * ctxt, int num)

DPSwindowdeviceround

Prototype: void DPSwindowdeviceround(GSCTXT * ctxt, int num)

DPScurrentwindow

Prototype: void DPScurrentwindow(GSCTXT * ctxt, int * num)

DPSorderwindow

Prototype: void DPSorderwindow(GSCTXT * ctxt, int op, int otherWin, int winNum)

DPSmovewindow

Prototype: void DPSmovewindow(GSCTXT * ctxt, float x, float y, int num)

DPSupdatewindow

Prototype: void DPSupdatewindow(GSCTXT * ctxt, int win)

DPSplacewindow

Prototype: void DPSplacewindow(GSCTXT * ctxt, float x, float y, float w, float h, int win)

DPSfrontwindow

Prototype: void DPSfrontwindow(GSCTXT * ctxt, int * num)

DPSfindwindow

Prototype: void DPSfindwindow(GSCTXT * ctxt, float x, float y, int op, int otherWin, float * lx, float * ly, int * winFound, int * didFind)

DPScurrentwindowbounds

Prototype: void DPScurrentwindowbounds(GSCTXT * ctxt, int num, float * x, float * y, float * w, float * h)

DPSsetexposurecolor

Prototype: void DPSsetexposurecolor(GSCTXT * ctxt)

DPSsetsendexposed

Prototype: void DPSsetsendexposed(GSCTXT * ctxt, int truth, int num)

DPSsetautofill

Prototype: void DPSsetautofill(GSCTXT * ctxt, int truth, int num)

DPScurrentwindowalpha

Prototype: void DPScurrentwindowalpha(GSCTXT * ctxt, int win, int * alpha)

DPScountscreenlist

Prototype: void DPScountscreenlist(GSCTXT * ctxt, int context, int * count)

DPSscreenlist

Prototype: void DPSscreenlist(GSCTXT * ctxt, int context, int count, int * windows)

DPSsetowner

Prototype: void DPSsetowner(GSCTXT * ctxt, int owner, int win)

DPScurrentowner

Prototype: void DPScurrentowner(GSCTXT * ctxt, int win, int * owner)

DPSsetwindowtype

Prototype: void DPSsetwindowtype(GSCTXT * ctxt, int type, int win)

DPSsetwindowlevel

Prototype: void DPSsetwindowlevel(GSCTXT * ctxt, int level, int win)

DPScurrentwindowlevel

Prototype: void DPScurrentwindowlevel(GSCTXT * ctxt, int win, int * level)

DPScountwindowlist

Prototype: void DPScountwindowlist(GSCTXT * ctxt, int context, int * count)

DPSwindowlist

Prototype: void DPSwindowlist(GSCTXT * ctxt, int context, int count, int * windows)

DPSsetwindowdepthlimit

Prototype: void DPSsetwindowdepthlimit(GSCTXT * ctxt, int limit, int win)

DPScurrentwindowdepthlimit

Prototype: void DPScurrentwindowdepthlimit(GSCTXT * ctxt, int win, int * limit)

DPScurrentwindowdepth

Prototype: void DPScurrentwindowdepth(GSCTXT * ctxt, int win, int * depth)

DPSsetdefaultdepthlimit

Prototype: void DPSsetdefaultdepthlimit(GSCTXT * ctxt, int limit)

DPScurrentdefaultdepthlimit

Prototype: void DPScurrentdefaultdepthlimit(GSCTXT * ctxt, int * limit)

DPSsetmaxsize

Prototype: void DPSsetmaxsize(GSCTXT * ctxt, float width, float height, int win)

DPSsetminsize

Prototype: void DPSsetminsize(GSCTXT * ctxt, float width, float height, int win)

DPSsetresizeincrements

Prototype: void DPSsetresizeincrements(GSCTXT * ctxt, float width, float height, int win)

DPSflushwindowrect

Prototype: void DPSflushwindowrect(GSCTXT * ctxt, float x, float y, float w, float h, int win)

DPScapturemouse

Prototype: void DPScapturemouse(GSCTXT * ctxt, int win)

DPSreleasemouse

Prototype: void DPSreleasemouse(GSCTXT * ctxt)

DPSsetinputfocus

Prototype: void DPSsetinputfocus(GSCTXT * ctxt, int win)

DPShidecursor

Prototype: void DPShidecursor(GSCTXT * ctxt)

DPSshowcursor

Prototype: void DPSshowcursor(GSCTXT * ctxt)

DPSstandardcursor

Prototype: void DPSstandardcursor(GSCTXT * ctxt, int style, void ** cid)

DPSimagecursor

Prototype: void DPSimagecursor(GSCTXT * ctxt, float hotx, float hoty, float w, float h, int colors, const char * image, void ** cid)

DPSsetcursorcolor

Prototype: void DPSsetcursorcolor(GSCTXT * ctxt, float fr, float fg, float fb, float br, float bg, float bb, void * cid)

DPSstyleoffsets

Prototype: void DPSstyleoffsets(GSCTXT * ctxt, float * l, float * r, float * t, float * b, int style)

DPSdocedited

Prototype: void DPSdocedited(GSCTXT * ctxt, int edited, int window)

DPSGetEvent

Prototype: NSEvent* DPSGetEvent(GSCTXT * ctxt, unsigned mask, NSDate* limit, NSString * mode)

DPSPeekEvent

Prototype: NSEvent* DPSPeekEvent(GSCTXT * ctxt, unsigned mask, NSDate* limit, NSString * mode)

DPSDiscardEvents

Prototype: void DPSDiscardEvents(GSCTXT * ctxt, unsigned mask, NSEvent* limit)

DPSPostEvent

Prototype: void DPSPostEvent(GSCTXT * ctxt, NSEvent* anEvent, BOOL atStart)

DPSmouselocation

Prototype: void DPSmouselocation(GSCTXT * ctxt, float * x, float * y)

DPSsetinputstate

Prototype: void DPSsetinputstate(GSCTXT * ctxt, int window, int state)

DPScurrentserverdevice

Prototype: void DPScurrentserverdevice(GSCTXT * ctxt, void ** serverptr)

DPScurrentwindowdevice

Prototype: void DPScurrentwindowdevice(GSCTXT * ctxt, int win, void ** windowptr)

DPScurrentcmykcolor

Prototype: void DPScurrentcmykcolor(GSCTXT * ctxt, float * c, float * m, float * y, float * k)

DPSsetcmykcolor

Prototype: void DPSsetcmykcolor(GSCTXT * ctxt, float c, float m, float y, float k)

DPSclear

Prototype: void DPSclear(GSCTXT * ctxt)

DPScleartomark

Prototype: void DPScleartomark(GSCTXT * ctxt)

DPScopy

Prototype: void DPScopy(GSCTXT * ctxt, int n)

DPScount

Prototype: void DPScount(GSCTXT * ctxt, int * n)

DPScounttomark

Prototype: void DPScounttomark(GSCTXT * ctxt, int * n)

DPSdup

Prototype: void DPSdup(GSCTXT * ctxt)

DPSexch

Prototype: void DPSexch(GSCTXT * ctxt)

DPSexecstack

Prototype: void DPSexecstack(GSCTXT * ctxt)

DPSget

Prototype: void DPSget(GSCTXT * ctxt)

DPSindex

Prototype: void DPSindex(GSCTXT * ctxt, int i)

DPSmark

Prototype: void DPSmark(GSCTXT * ctxt)

DPSmatrix

Prototype: void DPSmatrix(GSCTXT * ctxt)

DPSnull

Prototype: void DPSnull(GSCTXT * ctxt)

DPSpop

Prototype: void DPSpop(GSCTXT * ctxt)

DPSput

Prototype: void DPSput(GSCTXT * ctxt)

DPSroll

Prototype: void DPSroll(GSCTXT * ctxt, int n, int j)

DPSFontDirectory

Prototype: void DPSFontDirectory(GSCTXT * ctxt)

DPSISOLatin1Encoding

Prototype: void DPSISOLatin1Encoding(GSCTXT * ctxt)

DPSSharedFontDirectory

Prototype: void DPSSharedFontDirectory(GSCTXT * ctxt)

DPSStandardEncoding

Prototype: void DPSStandardEncoding(GSCTXT * ctxt)

DPScurrentcacheparams

Prototype: void DPScurrentcacheparams(GSCTXT * ctxt)

DPScurrentfont

Prototype: void DPScurrentfont(GSCTXT * ctxt)

DPSdefinefont

Prototype: void DPSdefinefont(GSCTXT * ctxt)

DPSfindfont

Prototype: void DPSfindfont(GSCTXT * ctxt, const char * name)

DPSmakefont

Prototype: void DPSmakefont(GSCTXT * ctxt)

DPSscalefont

Prototype: void DPSscalefont(GSCTXT * ctxt, float size)

DPSselectfont

Prototype: void DPSselectfont(GSCTXT * ctxt, const char * name, float scale)

DPSsetfont

Prototype: void DPSsetfont(GSCTXT * ctxt, int f)

DPSundefinefont

Prototype: void DPSundefinefont(GSCTXT * ctxt, const char * name)

DPSconcat

Prototype: void DPSconcat(GSCTXT * ctxt, const float m[])

DPScurrentdash

Prototype: void DPScurrentdash(GSCTXT * ctxt)

DPScurrentflat

Prototype: void DPScurrentflat(GSCTXT * ctxt, float * flatness)

DPScurrentgray

Prototype: void DPScurrentgray(GSCTXT * ctxt, float * gray)

DPScurrentgstate

Prototype: void DPScurrentgstate(GSCTXT * ctxt, int gst)

DPScurrenthalftone

Prototype: void DPScurrenthalftone(GSCTXT * ctxt)

DPScurrenthalftonephase

Prototype: void DPScurrenthalftonephase(GSCTXT * ctxt, float * x, float * y)

DPScurrenthsbcolor

Prototype: void DPScurrenthsbcolor(GSCTXT * ctxt, float * h, float * s, float * b)

DPScurrentlinecap

Prototype: void DPScurrentlinecap(GSCTXT * ctxt, int * linecap)

DPScurrentlinejoin

Prototype: void DPScurrentlinejoin(GSCTXT * ctxt, int * linejoin)

DPScurrentlinewidth

Prototype: void DPScurrentlinewidth(GSCTXT * ctxt, float * width)

DPScurrentmatrix

Prototype: void DPScurrentmatrix(GSCTXT * ctxt)

DPScurrentmiterlimit

Prototype: void DPScurrentmiterlimit(GSCTXT * ctxt, float * limit)

DPScurrentpoint

Prototype: void DPScurrentpoint(GSCTXT * ctxt, float * x, float * y)

DPScurrentrgbcolor

Prototype: void DPScurrentrgbcolor(GSCTXT * ctxt, float * r, float * g, float * b)

DPScurrentscreen

Prototype: void DPScurrentscreen(GSCTXT * ctxt)

DPScurrentstrokeadjust

Prototype: void DPScurrentstrokeadjust(GSCTXT * ctxt, int * b)

DPScurrenttransfer

Prototype: void DPScurrenttransfer(GSCTXT * ctxt)

DPSdefaultmatrix

Prototype: void DPSdefaultmatrix(GSCTXT * ctxt)

DPSgrestore

Prototype: void DPSgrestore(GSCTXT * ctxt)

DPSgrestoreall

Prototype: void DPSgrestoreall(GSCTXT * ctxt)

DPSgsave

Prototype: void DPSgsave(GSCTXT * ctxt)

DPSgstate

Prototype: void DPSgstate(GSCTXT * ctxt)

DPSinitgraphics

Prototype: void DPSinitgraphics(GSCTXT * ctxt)

DPSinitmatrix

Prototype: void DPSinitmatrix(GSCTXT * ctxt)

DPSrotate

Prototype: void DPSrotate(GSCTXT * ctxt, float angle)

DPSscale

Prototype: void DPSscale(GSCTXT * ctxt, float x, float y)

DPSsetdash

Prototype: void DPSsetdash(GSCTXT * ctxt, const float pat[], int size, float offset)

DPSsetflat

Prototype: void DPSsetflat(GSCTXT * ctxt, float flatness)

DPSsetgray

Prototype: void DPSsetgray(GSCTXT * ctxt, float gray)

DPSsetgstate

Prototype: void DPSsetgstate(GSCTXT * ctxt, int gst)

DPSsethalftone

Prototype: void DPSsethalftone(GSCTXT * ctxt)

DPSsethalftonephase

Prototype: void DPSsethalftonephase(GSCTXT * ctxt, float x, float y)

DPSsethsbcolor

Prototype: void DPSsethsbcolor(GSCTXT * ctxt, float h, float s, float b)

DPSsetlinecap

Prototype: void DPSsetlinecap(GSCTXT * ctxt, int linecap)

DPSsetlinejoin

Prototype: void DPSsetlinejoin(GSCTXT * ctxt, int linejoin)

DPSsetlinewidth

Prototype: void DPSsetlinewidth(GSCTXT * ctxt, float width)

DPSsetmatrix

Prototype: void DPSsetmatrix(GSCTXT * ctxt)

DPSsetmiterlimit

Prototype: void DPSsetmiterlimit(GSCTXT * ctxt, float limit)

DPSsetrgbcolor

Prototype: void DPSsetrgbcolor(GSCTXT * ctxt, float r, float g, float b)

DPSsetscreen

Prototype: void DPSsetscreen(GSCTXT * ctxt)

DPSsetstrokeadjust

Prototype: void DPSsetstrokeadjust(GSCTXT * ctxt, int b)

DPSsettransfer

Prototype: void DPSsettransfer(GSCTXT * ctxt)

DPStranslate

Prototype: void DPStranslate(GSCTXT * ctxt, float x, float y)

DPSflush

Prototype: void DPSflush(GSCTXT * ctxt)

DPSconcatmatrix

Prototype: void DPSconcatmatrix(GSCTXT * ctxt)

DPSdtransform

Prototype: void DPSdtransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSidentmatrix

Prototype: void DPSidentmatrix(GSCTXT * ctxt)

DPSidtransform

Prototype: void DPSidtransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSinvertmatrix

Prototype: void DPSinvertmatrix(GSCTXT * ctxt)

DPSitransform

Prototype: void DPSitransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPStransform

Prototype: void DPStransform(GSCTXT * ctxt, float x1, float y1, float * x2, float * y2)

DPSdefineuserobject

Prototype: void DPSdefineuserobject(GSCTXT * ctxt)

DPSexecuserobject

Prototype: void DPSexecuserobject(GSCTXT * ctxt, int index)

DPSundefineuserobject

Prototype: void DPSundefineuserobject(GSCTXT * ctxt, int index)

DPSgetboolean

Prototype: void DPSgetboolean(GSCTXT * ctxt, int * it)

DPSgetchararray

Prototype: void DPSgetchararray(GSCTXT * ctxt, int size, char s[])

DPSgetfloat

Prototype: void DPSgetfloat(GSCTXT * ctxt, float * it)

DPSgetfloatarray

Prototype: void DPSgetfloatarray(GSCTXT * ctxt, int size, float a[])

DPSgetint

Prototype: void DPSgetint(GSCTXT * ctxt, int * it)

DPSgetintarray

Prototype: void DPSgetintarray(GSCTXT * ctxt, int size, int a[])

DPSgetstring

Prototype: void DPSgetstring(GSCTXT * ctxt, char * s)

DPSsendboolean

Prototype: void DPSsendboolean(GSCTXT * ctxt, int it)

DPSsendchararray

Prototype: void DPSsendchararray(GSCTXT * ctxt, const char s[], int size)

DPSsendfloat

Prototype: void DPSsendfloat(GSCTXT * ctxt, float it)

DPSsendfloatarray

Prototype: void DPSsendfloatarray(GSCTXT * ctxt, const float a[], int size)

DPSsendint

Prototype: void DPSsendint(GSCTXT * ctxt, int it)

DPSsendintarray

Prototype: void DPSsendintarray(GSCTXT * ctxt, const int a[], int size)

DPSsendstring

Prototype: void DPSsendstring(GSCTXT * ctxt, const char * s)

DPSashow

Prototype: void DPSashow(GSCTXT * ctxt, float x, float y, const char * s)

DPSawidthshow

Prototype: void DPSawidthshow(GSCTXT * ctxt, float cx, float cy, int c, float ax, float ay, const char * s)

DPScopypage

Prototype: void DPScopypage(GSCTXT * ctxt)

DPSeofill

Prototype: void DPSeofill(GSCTXT * ctxt)

DPSerasepage

Prototype: void DPSerasepage(GSCTXT * ctxt)

DPSfill

Prototype: void DPSfill(GSCTXT * ctxt)

DPSimage

Prototype: void DPSimage(GSCTXT * ctxt)

DPSimagemask

Prototype: void DPSimagemask(GSCTXT * ctxt)

DPScolorimage

Prototype: void DPScolorimage(GSCTXT * ctxt)

DPSalphaimage

Prototype: void DPSalphaimage(GSCTXT * ctxt)

DPSkshow

Prototype: void DPSkshow(GSCTXT * ctxt, const char * s)

DPSrectfill

Prototype: void DPSrectfill(GSCTXT * ctxt, float x, float y, float w, float h)

DPSrectstroke

Prototype: void DPSrectstroke(GSCTXT * ctxt, float x, float y, float w, float h)

DPSshow

Prototype: void DPSshow(GSCTXT * ctxt, const char * s)

DPSshowpage

Prototype: void DPSshowpage(GSCTXT * ctxt)

DPSstroke

Prototype: void DPSstroke(GSCTXT * ctxt)

DPSstrokepath

Prototype: void DPSstrokepath(GSCTXT * ctxt)

DPSueofill

Prototype: void DPSueofill(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSufill

Prototype: void DPSufill(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSustroke

Prototype: void DPSustroke(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSustrokepath

Prototype: void DPSustrokepath(GSCTXT * ctxt, const char nums[], int n, const char ops[], int l)

DPSwidthshow

Prototype: void DPSwidthshow(GSCTXT * ctxt, float x, float y, int c, const char * s)

DPSxshow

Prototype: void DPSxshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSxyshow

Prototype: void DPSxyshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSyshow

Prototype: void DPSyshow(GSCTXT * ctxt, const char * s, const float numarray[], int size)

DPSarc

Prototype: void DPSarc(GSCTXT * ctxt, float x, float y, float r, float angle1, float angle2)

DPSarcn

Prototype: void DPSarcn(GSCTXT * ctxt, float x, float y, float r, float angle1, float angle2)

DPSarct

Prototype: void DPSarct(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float r)

DPSarcto

Prototype: void DPSarcto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float r, float * xt1, float * yt1, float * xt2, float * yt2)

DPScharpath

Prototype: void DPScharpath(GSCTXT * ctxt, const char * s, int b)

DPSclip

Prototype: void DPSclip(GSCTXT * ctxt)

DPSclippath

Prototype: void DPSclippath(GSCTXT * ctxt)

DPSclosepath

Prototype: void DPSclosepath(GSCTXT * ctxt)

DPScurveto

Prototype: void DPScurveto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float x3, float y3)

DPSeoclip

Prototype: void DPSeoclip(GSCTXT * ctxt)

DPSeoviewclip

Prototype: void DPSeoviewclip(GSCTXT * ctxt)

DPSflattenpath

Prototype: void DPSflattenpath(GSCTXT * ctxt)

DPSinitclip

Prototype: void DPSinitclip(GSCTXT * ctxt)

DPSinitviewclip

Prototype: void DPSinitviewclip(GSCTXT * ctxt)

DPSlineto

Prototype: void DPSlineto(GSCTXT * ctxt, float x, float y)

DPSmoveto

Prototype: void DPSmoveto(GSCTXT * ctxt, float x, float y)

DPSnewpath

Prototype: void DPSnewpath(GSCTXT * ctxt)

DPSpathbbox

Prototype: void DPSpathbbox(GSCTXT * ctxt, float * llx, float * lly, float * urx, float * ury)

DPSpathforall

Prototype: void DPSpathforall(GSCTXT * ctxt)

DPSrcurveto

Prototype: void DPSrcurveto(GSCTXT * ctxt, float x1, float y1, float x2, float y2, float x3, float y3)

DPSrectclip

Prototype: void DPSrectclip(GSCTXT * ctxt, float x, float y, float w, float h)

DPSrectviewclip

Prototype: void DPSrectviewclip(GSCTXT * ctxt, float x, float y, float w, float h)

DPSreversepath

Prototype: void DPSreversepath(GSCTXT * ctxt)

DPSrlineto

Prototype: void DPSrlineto(GSCTXT * ctxt, float x, float y)

DPSrmoveto

Prototype: void DPSrmoveto(GSCTXT * ctxt, float x, float y)

DPSsetbbox

Prototype: void DPSsetbbox(GSCTXT * ctxt, float llx, float lly, float urx, float ury)

DPSviewclip

Prototype: void DPSviewclip(GSCTXT * ctxt)

DPSviewclippath

Prototype: void DPSviewclippath(GSCTXT * ctxt)

DPScurrentdrawingfunction

Prototype: void DPScurrentdrawingfunction(GSCTXT * ctxt, int * function)

DPScurrentgcdrawable

Prototype: void DPScurrentgcdrawable(GSCTXT * ctxt, void* * gc, void* * draw, int * x, int * y)

DPScurrentgcdrawablecolor

Prototype: void DPScurrentgcdrawablecolor(GSCTXT * ctxt, void* * gc, void* * draw, int * x, int * y, int colorInfo[])

DPScurrentoffset

Prototype: void DPScurrentoffset(GSCTXT * ctxt, int * x, int * y)

DPSsetdrawingfunction

Prototype: void DPSsetdrawingfunction(GSCTXT * ctxt, int function)

DPSsetgcdrawable

Prototype: void DPSsetgcdrawable(GSCTXT * ctxt, void* gc, void* draw, int x, int y)

DPSsetgcdrawablecolor

Prototype: void DPSsetgcdrawablecolor(GSCTXT * ctxt, void* gc, void* draw, int x, int y, const int colorInfo[])

DPSsetoffset

Prototype: void DPSsetoffset(GSCTXT * ctxt, short int x, short int y)

DPSsetrgbactual

Prototype: void DPSsetrgbactual(GSCTXT * ctxt, double r, double g, double b, int * success)

DPScapturegstate

Prototype: void DPScapturegstate(GSCTXT * ctxt, int * gst)

DPScomposite

Prototype: void DPScomposite(GSCTXT * ctxt, float x, float y, float w, float h, int gstateNum, float dx, float dy, int op)

DPScompositerect

Prototype: void DPScompositerect(GSCTXT * ctxt, float x, float y, float w, float h, int op)

DPSdissolve

Prototype: void DPSdissolve(GSCTXT * ctxt, float x, float y, float w, float h, int gstateNum, float dx, float dy, float delta)

DPSreadimage

Prototype: void DPSreadimage(GSCTXT * ctxt)

DPSsetalpha

Prototype: void DPSsetalpha(GSCTXT * ctxt, float a)

DPScurrentalpha

Prototype: void DPScurrentalpha(GSCTXT * ctxt, float * a)

DPSwindow

Prototype: void DPSwindow(GSCTXT * ctxt, float x, float y, float w, float h, int type, int * num)

DPStermwindow

Prototype: void DPStermwindow(GSCTXT * ctxt, int num)

DPSstylewindow

Prototype: void DPSstylewindow(GSCTXT * ctxt, int style, int num)

DPStitlewindow

Prototype: void DPStitlewindow(GSCTXT * ctxt, const char * window_title, int num)

DPSminiwindow

Prototype: void DPSminiwindow(GSCTXT * ctxt, int num)

DPSwindowdevice

Prototype: void DPSwindowdevice(GSCTXT * ctxt, int num)

DPSwindowdeviceround

Prototype: void DPSwindowdeviceround(GSCTXT * ctxt, int num)

DPScurrentwindow

Prototype: void DPScurrentwindow(GSCTXT * ctxt, int * num)

DPSorderwindow

Prototype: void DPSorderwindow(GSCTXT * ctxt, int op, int otherWin, int winNum)

DPSmovewindow

Prototype: void DPSmovewindow(GSCTXT * ctxt, float x, float y, int num)

DPSupdatewindow

Prototype: void DPSupdatewindow(GSCTXT * ctxt, int win)

DPSplacewindow

Prototype: void DPSplacewindow(GSCTXT * ctxt, float x, float y, float w, float h, int win)

DPSfrontwindow

Prototype: void DPSfrontwindow(GSCTXT * ctxt, int * num)

DPSfindwindow

Prototype: void DPSfindwindow(GSCTXT * ctxt, float x, float y, int op, int otherWin, float * lx, float * ly, int * winFound, int * didFind)

DPScurrentwindowbounds

Prototype: void DPScurrentwindowbounds(GSCTXT * ctxt, int num, float * x, float * y, float * w, float * h)

DPSsetexposurecolor

Prototype: void DPSsetexposurecolor(GSCTXT * ctxt)

DPSsetsendexposed

Prototype: void DPSsetsendexposed(GSCTXT * ctxt, int truth, int num)

DPSsetautofill

Prototype: void DPSsetautofill(GSCTXT * ctxt, int truth, int num)

DPScurrentwindowalpha

Prototype: void DPScurrentwindowalpha(GSCTXT * ctxt, int win, int * alpha)

DPScountscreenlist

Prototype: void DPScountscreenlist(GSCTXT * ctxt, int context, int * count)

DPSscreenlist

Prototype: void DPSscreenlist(GSCTXT * ctxt, int context, int count, int * windows)

DPSsetowner

Prototype: void DPSsetowner(GSCTXT * ctxt, int owner, int win)

DPScurrentowner

Prototype: void DPScurrentowner(GSCTXT * ctxt, int win, int * owner)

DPSsetwindowtype

Prototype: void DPSsetwindowtype(GSCTXT * ctxt, int type, int win)

DPSsetwindowlevel

Prototype: void DPSsetwindowlevel(GSCTXT * ctxt, int level, int win)

DPScurrentwindowlevel

Prototype: void DPScurrentwindowlevel(GSCTXT * ctxt, int win, int * level)

DPScountwindowlist

Prototype: void DPScountwindowlist(GSCTXT * ctxt, int context, int * count)

DPSwindowlist

Prototype: void DPSwindowlist(GSCTXT * ctxt, int context, int count, int * windows)

DPSsetwindowdepthlimit

Prototype: void DPSsetwindowdepthlimit(GSCTXT * ctxt, int limit, int win)

DPScurrentwindowdepthlimit

Prototype: void DPScurrentwindowdepthlimit(GSCTXT * ctxt, int win, int * limit)

DPScurrentwindowdepth

Prototype: void DPScurrentwindowdepth(GSCTXT * ctxt, int win, int * depth)

DPSsetdefaultdepthlimit

Prototype: void DPSsetdefaultdepthlimit(GSCTXT * ctxt, int limit)

DPScurrentdefaultdepthlimit

Prototype: void DPScurrentdefaultdepthlimit(GSCTXT * ctxt, int * limit)

DPSsetmaxsize

Prototype: void DPSsetmaxsize(GSCTXT * ctxt, float width, float height, int win)

DPSsetminsize

Prototype: void DPSsetminsize(GSCTXT * ctxt, float width, float height, int win)

DPSsetresizeincrements

Prototype: void DPSsetresizeincrements(GSCTXT * ctxt, float width, float height, int win)

DPSflushwindowrect

Prototype: void DPSflushwindowrect(GSCTXT * ctxt, float x, float y, float w, float h, int win)

DPScapturemouse

Prototype: void DPScapturemouse(GSCTXT * ctxt, int win)

DPSreleasemouse

Prototype: void DPSreleasemouse(GSCTXT * ctxt)

DPSsetinputfocus

Prototype: void DPSsetinputfocus(GSCTXT * ctxt, int win)

DPShidecursor

Prototype: void DPShidecursor(GSCTXT * ctxt)

DPSshowcursor

Prototype: void DPSshowcursor(GSCTXT * ctxt)

DPSstandardcursor

Prototype: void DPSstandardcursor(GSCTXT * ctxt, int style, void ** cid)

DPSimagecursor

Prototype: void DPSimagecursor(GSCTXT * ctxt, float hotx, float hoty, float w, float h, int colors, const char * image, void ** cid)

DPSsetcursorcolor

Prototype: void DPSsetcursorcolor(GSCTXT * ctxt, float fr, float fg, float fb, float br, float bg, float bb, void * cid)

DPSstyleoffsets

Prototype: void DPSstyleoffsets(GSCTXT * ctxt, float * l, float * r, float * t, float * b, int style)

DPSdocedited

Prototype: void DPSdocedited(GSCTXT * ctxt, int edited, int window)

DPSGetEvent

Prototype: NSEvent* DPSGetEvent(GSCTXT * ctxt, unsigned mask, NSDate* limit, NSString * mode)

DPSPeekEvent

Prototype: NSEvent* DPSPeekEvent(GSCTXT * ctxt, unsigned mask, NSDate* limit, NSString * mode)

DPSDiscardEvents

Prototype: void DPSDiscardEvents(GSCTXT * ctxt, unsigned mask, NSEvent* limit)

DPSPostEvent

Prototype: void DPSPostEvent(GSCTXT * ctxt, NSEvent* anEvent, BOOL atStart)

DPSmouselocation

Prototype: void DPSmouselocation(GSCTXT * ctxt, float * x, float * y)

DPSsetinputstate

Prototype: void DPSsetinputstate(GSCTXT * ctxt, int window, int state)

DPScurrentserverdevice

Prototype: void DPScurrentserverdevice(GSCTXT * ctxt, void ** serverptr)
This is a backend specific function that returns a pointer to a variable which holds information about the window server. The type of information and the type of variable is dependant on the backend. For instance, under X-windows, the variable is the pointer to the X-Windows Display* type (Note the variable is a pointer, so you need to dereference serverptr to get the Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. Display* type (Note the variable is a pointer, so you need to dereference serverptr to get the Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. type (Note the variable is a pointer, so you need to dereference serverptr to get the Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. serverptr to get the Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. to get the Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. Display* pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend. pointer.) This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend.

DPScurrentwindowdevice

Prototype: void DPScurrentwindowdevice(GSCTXT * ctxt, int win, void ** windowptr)
This is a backend specific function that returns a pointer to a variable which holds information about the current window device. The type of information and the type of variable is dependant on the backend. For instance, under X-windows, the variable is the pointer to the X-Windows Window type. This function should not be used in portable applications unless there is no doubt that it will be used on the intended backend.