DPSOperators 0.1 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().

ctxt c m y k ctxt c m y k ctxt ctxt ctxt n ctxt n ctxt n ctxt ctxt ctxt ctxt ctxt i ctxt ctxt ctxt ctxt ctxt ctxt n j ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt name ctxt ctxt size ctxt name scale ctxt f ctxt name ctxt m[] ctxt ctxt flatness ctxt gray ctxt gst ctxt ctxt x y ctxt h s b ctxt linecap ctxt linejoin ctxt width ctxt ctxt limit ctxt x y ctxt r g b ctxt ctxt b ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt angle ctxt x y ctxt pat[] size offset ctxt flatness ctxt gray ctxt gst ctxt ctxt x y ctxt h s b ctxt linecap ctxt linejoin ctxt width ctxt ctxt limit ctxt r g b ctxt ctxt b ctxt ctxt x y ctxt ctxt ctxt x1 y1 x2 y2 ctxt ctxt x1 y1 x2 y2 ctxt ctxt x1 y1 x2 y2 ctxt x1 y1 x2 y2 ctxt ctxt index ctxt index ctxt it ctxt size s[] ctxt it ctxt size a[] ctxt it ctxt size a[] ctxt s ctxt it ctxt s[] size ctxt it ctxt a[] size ctxt it ctxt a[] size ctxt s ctxt x y s ctxt cx cy c ax ay s ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt s ctxt x y w h ctxt x y w h ctxt s ctxt ctxt ctxt ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt x y c s ctxt s numarray[] size ctxt s numarray[] size ctxt s numarray[] size ctxt x y r angle1 angle2 ctxt x y r angle1 angle2 ctxt x1 y1 x2 y2 r ctxt x1 y1 x2 y2 r xt1 yt1 xt2 yt2 ctxt s b ctxt ctxt ctxt ctxt x1 y1 x2 y2 x3 y3 ctxt ctxt ctxt ctxt ctxt ctxt x y ctxt x y ctxt ctxt llx lly urx ury ctxt ctxt x1 y1 x2 y2 x3 y3 ctxt x y w h ctxt x y w h ctxt ctxt x y ctxt x y ctxt llx lly urx ury ctxt ctxt ctxt function ctxt gc draw x y ctxt gc draw x y colorInfo[] ctxt x y ctxt function ctxt gc draw x y ctxt gc draw x y colorInfo[] ctxt x y ctxt r g b success ctxt gst ctxt x y w h gstateNum dx dy op ctxt x y w h op ctxt x y w h gstateNum dx dy delta ctxt ctxt a ctxt alpha ctxt x y w h type num ctxt num ctxt style num ctxt window_title num ctxt num ctxt num ctxt num ctxt num ctxt op otherWin winNum ctxt x y num ctxt win ctxt x y w h win ctxt num ctxt x y op otherWin lx ly winFound didFind ctxt num x y w h ctxt ctxt truth num ctxt truth num ctxt win alpha ctxt context count ctxt context count windows ctxt owner win ctxt win owner ctxt type win ctxt level win ctxt win level ctxt context count ctxt context count windows ctxt limit win ctxt win limit ctxt win depth ctxt limit ctxt limit ctxt width height win ctxt width height win ctxt width height win ctxt x y w h win ctxt win ctxt ctxt win ctxt ctxt ctxt style cid ctxt hotx hoty w h colors image cid ctxt fr fg fb br bg bb cid ctxt l r t b style ctxt edited window ctxt mask limit mode ctxt mask limit mode ctxt mask limit ctxt anEvent atStart ctxt x y ctxt window state ctxt serverptr ctxt win windowptr ctxt c m y k ctxt c m y k ctxt ctxt ctxt n ctxt n ctxt n ctxt ctxt ctxt ctxt ctxt i ctxt ctxt ctxt ctxt ctxt ctxt n j ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt name ctxt ctxt size ctxt name scale ctxt f ctxt name ctxt m[] ctxt ctxt flatness ctxt gray ctxt gst ctxt ctxt x y ctxt h s b ctxt linecap ctxt linejoin ctxt width ctxt ctxt limit ctxt x y ctxt r g b ctxt ctxt b ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt angle ctxt x y ctxt pat[] size offset ctxt flatness ctxt gray ctxt gst ctxt ctxt x y ctxt h s b ctxt linecap ctxt linejoin ctxt width ctxt ctxt limit ctxt r g b ctxt ctxt b ctxt ctxt x y ctxt ctxt ctxt x1 y1 x2 y2 ctxt ctxt x1 y1 x2 y2 ctxt ctxt x1 y1 x2 y2 ctxt x1 y1 x2 y2 ctxt ctxt index ctxt index ctxt it ctxt size s[] ctxt it ctxt size a[] ctxt it ctxt size a[] ctxt s ctxt it ctxt s[] size ctxt it ctxt a[] size ctxt it ctxt a[] size ctxt s ctxt x y s ctxt cx cy c ax ay s ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt ctxt s ctxt x y w h ctxt x y w h ctxt s ctxt ctxt ctxt ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt nums[] n ops[] l ctxt x y c s ctxt s numarray[] size ctxt s numarray[] size ctxt s numarray[] size ctxt x y r angle1 angle2 ctxt x y r angle1 angle2 ctxt x1 y1 x2 y2 r ctxt x1 y1 x2 y2 r xt1 yt1 xt2 yt2 ctxt s b ctxt ctxt ctxt ctxt x1 y1 x2 y2 x3 y3 ctxt ctxt ctxt ctxt ctxt ctxt x y ctxt x y ctxt ctxt llx lly urx ury ctxt ctxt x1 y1 x2 y2 x3 y3 ctxt x y w h ctxt x y w h ctxt ctxt x y ctxt x y ctxt llx lly urx ury ctxt ctxt ctxt function ctxt gc draw x y ctxt gc draw x y colorInfo[] ctxt x y ctxt function ctxt gc draw x y ctxt gc draw x y colorInfo[] ctxt x y ctxt r g b success ctxt gst ctxt x y w h gstateNum dx dy op ctxt x y w h op ctxt x y w h gstateNum dx dy delta ctxt ctxt a ctxt a ctxt x y w h type num ctxt num ctxt style num ctxt window_title num ctxt num ctxt num ctxt num ctxt num ctxt op otherWin winNum ctxt x y num ctxt win ctxt x y w h win ctxt num ctxt x y op otherWin lx ly winFound didFind ctxt num x y w h ctxt ctxt truth num ctxt truth num ctxt win alpha ctxt context count ctxt context count windows ctxt owner win ctxt win owner ctxt type win ctxt level win ctxt win level ctxt context count ctxt context count windows ctxt limit win ctxt win limit ctxt win depth ctxt limit ctxt limit ctxt width height win ctxt width height win ctxt width height win ctxt x y w h win ctxt win ctxt ctxt win ctxt ctxt ctxt style cid ctxt hotx hoty w h colors image cid ctxt fr fg fb br bg bb cid ctxt l r t b style ctxt edited window ctxt mask limit mode ctxt mask limit mode ctxt mask limit ctxt anEvent atStart ctxt x y ctxt window state ctxt 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. ctxt win 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.