ftp.nice.ch/pub/next/connectivity/protocol/GateKeeper.2.2.s.tar.gz#/GateKeeper.2.2.s/wraps.c

This is wraps.c in view mode; [Download] [Up]

/* ../sym/CircularSlider.subproj/wraps.c generated from wraps.psw
   by unix pswrap V1.009  Wed Apr 19 17:50:24 PDT 1989
 */

#include <dpsclient/dpsfriends.h>
#include <string.h>

#line 1 "wraps.psw"
/*
 *	Filename: wraps.psw
 *      Created : Sat Aug 24 21:25:44 1991
 *	Author  : Vince DeMarco <vince@whatnxt.cuc.ab.ca>
 *	LastEditDate Was "Mon Sep  6 16:32:45 1993"
 */
#line 16 "../sym/CircularSlider.subproj/wraps.c"
void PSDrawBackground(float height, float width, float center_x, float center_y, float radius)
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjReal obj1;
    DPSBinObjReal obj2;
    DPSBinObjGeneric obj3;
    DPSBinObjReal obj4;
    DPSBinObjReal obj5;
    DPSBinObjGeneric obj6;
    DPSBinObjGeneric obj7;
    DPSBinObjGeneric obj8;
    DPSBinObjReal obj9;
    DPSBinObjReal obj10;
    DPSBinObjGeneric obj11;
    DPSBinObjGeneric obj12;
    DPSBinObjGeneric obj13;
    DPSBinObjGeneric obj14;
    DPSBinObjReal obj15;
    DPSBinObjGeneric obj16;
    DPSBinObjReal obj17;
    DPSBinObjReal obj18;
    DPSBinObjReal obj19;
    DPSBinObjGeneric obj20;
    DPSBinObjGeneric obj21;
    DPSBinObjGeneric obj22;
    DPSBinObjGeneric obj23;
    DPSBinObjGeneric obj24;
    DPSBinObjGeneric obj25;
    DPSBinObjGeneric obj26;
    DPSBinObjGeneric obj27;
    DPSBinObjReal obj28;
    DPSBinObjGeneric obj29;
    DPSBinObjReal obj30;
    DPSBinObjGeneric obj31;
    DPSBinObjReal obj32;
    DPSBinObjGeneric obj33;
    DPSBinObjGeneric obj34;
    DPSBinObjGeneric obj35;
    DPSBinObjGeneric obj36;
    DPSBinObjGeneric obj37;
    DPSBinObjGeneric obj38;
    DPSBinObjGeneric obj39;
    DPSBinObjGeneric obj40;
    DPSBinObjReal obj41;
    DPSBinObjGeneric obj42;
    DPSBinObjReal obj43;
    DPSBinObjReal obj44;
    DPSBinObjReal obj45;
    DPSBinObjGeneric obj46;
    DPSBinObjGeneric obj47;
    DPSBinObjGeneric obj48;
    DPSBinObjGeneric obj49;
    DPSBinObjGeneric obj50;
    DPSBinObjGeneric obj51;
    DPSBinObjGeneric obj52;
    DPSBinObjGeneric obj53;
    DPSBinObjReal obj54;
    DPSBinObjReal obj55;
    DPSBinObjGeneric obj56;
    DPSBinObjGeneric obj57;
    DPSBinObjGeneric obj58;
    DPSBinObjGeneric obj59;
    DPSBinObjReal obj60;
    DPSBinObjReal obj61;
    DPSBinObjGeneric obj62;
    DPSBinObjGeneric obj63;
    char obj64[9];
    } _dpsQ;
  static const _dpsQ _dpsStat = {
    DPS_DEF_TOKENTYPE, 54, 525,
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},	/* gsave */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 80},	/* gt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 472},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 102},	/* lt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 432},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 1.0},
    {DPS_EXEC|DPS_NAME, 0, 9, 512},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, -1.0},
    {DPS_LITERAL|DPS_REAL, 0, 0, 1.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 2},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.0},
    {DPS_EXEC|DPS_NAME, 0, 9, 512},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 1.5},
    {DPS_LITERAL|DPS_INT, 0, 0, -1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 2},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 225},
    {DPS_LITERAL|DPS_INT, 0, 0, 45},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.3333},
    {DPS_EXEC|DPS_NAME, 0, 9, 512},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 1.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, -0.25},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},	/* grestore */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {'n','x','s','e','t','g','r','a','y'},
    }; /* _dpsQ */
  _dpsQ _dpsF;	/* local copy  */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  _dpsF = _dpsStat;	/* assign automatic variable */

  _dpsP[4].val.realVal =
  _dpsP[60].val.realVal =
  _dpsP[9].val.realVal =
  _dpsP[55].val.realVal = height;
  _dpsP[5].val.realVal =
  _dpsP[61].val.realVal =
  _dpsP[10].val.realVal =
  _dpsP[54].val.realVal = width;
  _dpsP[1].val.realVal = center_x;
  _dpsP[2].val.realVal = center_y;
  _dpsP[19].val.realVal =
  _dpsP[32].val.realVal =
  _dpsP[45].val.realVal = radius;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,525);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 48 "wraps.psw"

#line 182 "../sym/CircularSlider.subproj/wraps.c"
void PSPieChart(float height, float width, float center_x, float center_y, float radius, float angle)
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjReal obj1;
    DPSBinObjReal obj2;
    DPSBinObjGeneric obj3;
    DPSBinObjReal obj4;
    DPSBinObjReal obj5;
    DPSBinObjGeneric obj6;
    DPSBinObjGeneric obj7;
    DPSBinObjGeneric obj8;
    DPSBinObjReal obj9;
    DPSBinObjReal obj10;
    DPSBinObjGeneric obj11;
    DPSBinObjGeneric obj12;
    DPSBinObjGeneric obj13;
    DPSBinObjGeneric obj14;
    DPSBinObjReal obj15;
    DPSBinObjGeneric obj16;
    DPSBinObjGeneric obj17;
    DPSBinObjReal obj18;
    DPSBinObjReal obj19;
    DPSBinObjGeneric obj20;
    DPSBinObjGeneric obj21;
    DPSBinObjGeneric obj22;
    DPSBinObjGeneric obj23;
    DPSBinObjGeneric obj24;
    DPSBinObjGeneric obj25;
    DPSBinObjGeneric obj26;
    DPSBinObjReal obj27;
    DPSBinObjGeneric obj28;
    DPSBinObjGeneric obj29;
    DPSBinObjReal obj30;
    DPSBinObjReal obj31;
    DPSBinObjGeneric obj32;
    DPSBinObjReal obj33;
    DPSBinObjReal obj34;
    DPSBinObjGeneric obj35;
    DPSBinObjGeneric obj36;
    DPSBinObjGeneric obj37;
    DPSBinObjReal obj38;
    DPSBinObjReal obj39;
    DPSBinObjGeneric obj40;
    DPSBinObjReal obj41;
    DPSBinObjGeneric obj42;
    DPSBinObjGeneric obj43;
    DPSBinObjGeneric obj44;
    DPSBinObjGeneric obj45;
    DPSBinObjGeneric obj46;
    DPSBinObjGeneric obj47;
    DPSBinObjGeneric obj48;
    DPSBinObjGeneric obj49;
    DPSBinObjReal obj50;
    DPSBinObjReal obj51;
    DPSBinObjGeneric obj52;
    DPSBinObjGeneric obj53;
    DPSBinObjGeneric obj54;
    DPSBinObjGeneric obj55;
    DPSBinObjReal obj56;
    DPSBinObjReal obj57;
    DPSBinObjGeneric obj58;
    DPSBinObjGeneric obj59;
    char obj60[9];
    } _dpsQ;
  static const _dpsQ _dpsStat = {
    DPS_DEF_TOKENTYPE, 50, 493,
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},	/* gsave */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 80},	/* gt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 440},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 102},	/* lt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 400},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.33333},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150},	/* setgray */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_EXEC|DPS_NAME, 0, 9, 480},	/* nxsetgray */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},	/* moveto */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 90},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: angle */
    {DPS_LITERAL|DPS_INT, 0, 0, 90},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},	/* sub */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 110},	/* neg */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 6},	/* arcn */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167},	/* stroke */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},	/* grestore */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {'n','x','s','e','t','g','r','a','y'},
    }; /* _dpsQ */
  _dpsQ _dpsF;	/* local copy  */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  _dpsF = _dpsStat;	/* assign automatic variable */

  _dpsP[4].val.realVal =
  _dpsP[56].val.realVal =
  _dpsP[9].val.realVal =
  _dpsP[51].val.realVal =
  _dpsP[34].val.realVal = height;
  _dpsP[5].val.realVal =
  _dpsP[57].val.realVal =
  _dpsP[10].val.realVal =
  _dpsP[50].val.realVal =
  _dpsP[31].val.realVal = width;
  _dpsP[1].val.realVal =
  _dpsP[30].val.realVal = center_x;
  _dpsP[2].val.realVal =
  _dpsP[33].val.realVal = center_y;
  _dpsP[19].val.realVal =
  _dpsP[39].val.realVal = radius;
  _dpsP[41].val.realVal = angle;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,493);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 98 "wraps.psw"

#line 344 "../sym/CircularSlider.subproj/wraps.c"
void PSPieChartDisabled(float height, float width, float center_x, float center_y, float radius, float angle)
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjReal obj1;
    DPSBinObjReal obj2;
    DPSBinObjGeneric obj3;
    DPSBinObjReal obj4;
    DPSBinObjReal obj5;
    DPSBinObjGeneric obj6;
    DPSBinObjGeneric obj7;
    DPSBinObjGeneric obj8;
    DPSBinObjReal obj9;
    DPSBinObjReal obj10;
    DPSBinObjGeneric obj11;
    DPSBinObjGeneric obj12;
    DPSBinObjGeneric obj13;
    DPSBinObjGeneric obj14;
    DPSBinObjReal obj15;
    DPSBinObjGeneric obj16;
    DPSBinObjReal obj17;
    DPSBinObjReal obj18;
    DPSBinObjReal obj19;
    DPSBinObjGeneric obj20;
    DPSBinObjGeneric obj21;
    DPSBinObjGeneric obj22;
    DPSBinObjGeneric obj23;
    DPSBinObjGeneric obj24;
    DPSBinObjGeneric obj25;
    DPSBinObjGeneric obj26;
    DPSBinObjReal obj27;
    DPSBinObjGeneric obj28;
    DPSBinObjGeneric obj29;
    DPSBinObjReal obj30;
    DPSBinObjReal obj31;
    DPSBinObjGeneric obj32;
    DPSBinObjReal obj33;
    DPSBinObjReal obj34;
    DPSBinObjGeneric obj35;
    DPSBinObjGeneric obj36;
    DPSBinObjReal obj37;
    DPSBinObjReal obj38;
    DPSBinObjReal obj39;
    DPSBinObjGeneric obj40;
    DPSBinObjReal obj41;
    DPSBinObjGeneric obj42;
    DPSBinObjGeneric obj43;
    DPSBinObjGeneric obj44;
    DPSBinObjGeneric obj45;
    DPSBinObjGeneric obj46;
    DPSBinObjGeneric obj47;
    DPSBinObjGeneric obj48;
    DPSBinObjGeneric obj49;
    DPSBinObjReal obj50;
    DPSBinObjGeneric obj51;
    DPSBinObjGeneric obj52;
    DPSBinObjReal obj53;
    DPSBinObjReal obj54;
    DPSBinObjReal obj55;
    DPSBinObjGeneric obj56;
    DPSBinObjGeneric obj57;
    DPSBinObjGeneric obj58;
    DPSBinObjGeneric obj59;
    DPSBinObjGeneric obj60;
    DPSBinObjGeneric obj61;
    DPSBinObjGeneric obj62;
    DPSBinObjGeneric obj63;
    DPSBinObjGeneric obj64;
    DPSBinObjGeneric obj65;
    DPSBinObjGeneric obj66;
    DPSBinObjReal obj67;
    DPSBinObjReal obj68;
    DPSBinObjGeneric obj69;
    DPSBinObjGeneric obj70;
    DPSBinObjGeneric obj71;
    DPSBinObjGeneric obj72;
    DPSBinObjReal obj73;
    DPSBinObjReal obj74;
    DPSBinObjGeneric obj75;
    DPSBinObjGeneric obj76;
    char obj77[9];
    } _dpsQ;
  static const _dpsQ _dpsStat = {
    DPS_DEF_TOKENTYPE, 67, 629,
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},	/* gsave */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 80},	/* gt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 576},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 102},	/* lt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 536},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.33333},
    {DPS_EXEC|DPS_NAME, 0, 9, 616},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.66666},
    {DPS_EXEC|DPS_NAME, 0, 9, 616},	/* nxsetgray */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},	/* moveto */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 90},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: angle */
    {DPS_LITERAL|DPS_INT, 0, 0, 90},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},	/* sub */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 110},	/* neg */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 6},	/* arcn */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_EXEC|DPS_NAME, 0, 9, 616},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 155},	/* setlinewidth */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 104},	/* matrix */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 289},	/* defaultmatrix */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 156},	/* setmatrix */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167},	/* stroke */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},	/* grestore */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {'n','x','s','e','t','g','r','a','y'},
    }; /* _dpsQ */
  _dpsQ _dpsF;	/* local copy  */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  _dpsF = _dpsStat;	/* assign automatic variable */

  _dpsP[4].val.realVal =
  _dpsP[73].val.realVal =
  _dpsP[9].val.realVal =
  _dpsP[68].val.realVal =
  _dpsP[34].val.realVal = height;
  _dpsP[5].val.realVal =
  _dpsP[74].val.realVal =
  _dpsP[10].val.realVal =
  _dpsP[67].val.realVal =
  _dpsP[31].val.realVal = width;
  _dpsP[1].val.realVal =
  _dpsP[30].val.realVal = center_x;
  _dpsP[2].val.realVal =
  _dpsP[33].val.realVal = center_y;
  _dpsP[19].val.realVal =
  _dpsP[39].val.realVal =
  _dpsP[55].val.realVal = radius;
  _dpsP[41].val.realVal = angle;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,629);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 150 "wraps.psw"

#line 541 "../sym/CircularSlider.subproj/wraps.c"
void PSControlKnob(float height, float width, float center_x, float center_y, float radius, float xpos, float ypos)
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjReal obj1;
    DPSBinObjReal obj2;
    DPSBinObjGeneric obj3;
    DPSBinObjReal obj4;
    DPSBinObjReal obj5;
    DPSBinObjGeneric obj6;
    DPSBinObjGeneric obj7;
    DPSBinObjGeneric obj8;
    DPSBinObjReal obj9;
    DPSBinObjReal obj10;
    DPSBinObjGeneric obj11;
    DPSBinObjGeneric obj12;
    DPSBinObjGeneric obj13;
    DPSBinObjGeneric obj14;
    DPSBinObjReal obj15;
    DPSBinObjGeneric obj16;
    DPSBinObjReal obj17;
    DPSBinObjReal obj18;
    DPSBinObjReal obj19;
    DPSBinObjGeneric obj20;
    DPSBinObjGeneric obj21;
    DPSBinObjGeneric obj22;
    DPSBinObjGeneric obj23;
    DPSBinObjGeneric obj24;
    DPSBinObjGeneric obj25;
    DPSBinObjGeneric obj26;
    DPSBinObjReal obj27;
    DPSBinObjGeneric obj28;
    DPSBinObjGeneric obj29;
    DPSBinObjReal obj30;
    DPSBinObjGeneric obj31;
    DPSBinObjGeneric obj32;
    DPSBinObjGeneric obj33;
    DPSBinObjGeneric obj34;
    DPSBinObjGeneric obj35;
    DPSBinObjGeneric obj36;
    DPSBinObjGeneric obj37;
    DPSBinObjGeneric obj38;
    DPSBinObjGeneric obj39;
    DPSBinObjGeneric obj40;
    DPSBinObjGeneric obj41;
    DPSBinObjGeneric obj42;
    DPSBinObjGeneric obj43;
    DPSBinObjGeneric obj44;
    DPSBinObjGeneric obj45;
    DPSBinObjGeneric obj46;
    DPSBinObjReal obj47;
    DPSBinObjReal obj48;
    DPSBinObjGeneric obj49;
    DPSBinObjGeneric obj50;
    DPSBinObjGeneric obj51;
    DPSBinObjGeneric obj52;
    DPSBinObjReal obj53;
    DPSBinObjReal obj54;
    DPSBinObjGeneric obj55;
    DPSBinObjGeneric obj56;
    char obj57[12];
    char obj58[9];
    } _dpsQ;
  static const _dpsQ _dpsStat = {
    DPS_DEF_TOKENTYPE, 41, 481,
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},	/* gsave */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 80},	/* gt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 416},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 102},	/* lt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 376},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.6666},
    {DPS_EXEC|DPS_NAME, 0, 9, 468},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: xpos */
    {DPS_LITERAL|DPS_INT, 0, 0, 2},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},	/* sub */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: ypos */
    {DPS_LITERAL|DPS_INT, 0, 0, 2},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 169},	/* sub */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_INT, 0, 0, 6},
    {DPS_LITERAL|DPS_INT, 0, 0, 6},
    {DPS_LITERAL|DPS_INT, 0, 0, 2},
    {DPS_LITERAL|DPS_ARRAY, 0, 6, 328},
    {DPS_LITERAL|DPS_STRING, 0, 12, 456},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 86},	/* image */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},	/* grestore */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, -1},
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 6},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {0x90,0x20,0x45,0x50,0x16,0xa0,0x1a,0xf0,0x1b,0xf0,0x9b,0xe0},
    {'n','x','s','e','t','g','r','a','y'},
    }; /* _dpsQ */
  _dpsQ _dpsF;	/* local copy  */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  _dpsF = _dpsStat;	/* assign automatic variable */

  _dpsP[4].val.realVal =
  _dpsP[53].val.realVal =
  _dpsP[9].val.realVal =
  _dpsP[48].val.realVal = height;
  _dpsP[5].val.realVal =
  _dpsP[54].val.realVal =
  _dpsP[10].val.realVal =
  _dpsP[47].val.realVal = width;
  _dpsP[1].val.realVal = center_x;
  _dpsP[2].val.realVal = center_y;
  _dpsP[19].val.realVal = radius;
  _dpsP[27].val.realVal = xpos;
  _dpsP[30].val.realVal = ypos;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,481);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 183 "wraps.psw"

#line 695 "../sym/CircularSlider.subproj/wraps.c"
void PSControlKnobDisabled(float height, float width, float center_x, float center_y, float radius)
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjReal obj1;
    DPSBinObjReal obj2;
    DPSBinObjGeneric obj3;
    DPSBinObjReal obj4;
    DPSBinObjReal obj5;
    DPSBinObjGeneric obj6;
    DPSBinObjGeneric obj7;
    DPSBinObjGeneric obj8;
    DPSBinObjReal obj9;
    DPSBinObjReal obj10;
    DPSBinObjGeneric obj11;
    DPSBinObjGeneric obj12;
    DPSBinObjGeneric obj13;
    DPSBinObjGeneric obj14;
    DPSBinObjReal obj15;
    DPSBinObjGeneric obj16;
    DPSBinObjReal obj17;
    DPSBinObjReal obj18;
    DPSBinObjReal obj19;
    DPSBinObjGeneric obj20;
    DPSBinObjGeneric obj21;
    DPSBinObjGeneric obj22;
    DPSBinObjGeneric obj23;
    DPSBinObjGeneric obj24;
    DPSBinObjGeneric obj25;
    DPSBinObjGeneric obj26;
    DPSBinObjGeneric obj27;
    DPSBinObjReal obj28;
    DPSBinObjReal obj29;
    DPSBinObjGeneric obj30;
    DPSBinObjGeneric obj31;
    DPSBinObjGeneric obj32;
    DPSBinObjGeneric obj33;
    DPSBinObjReal obj34;
    DPSBinObjReal obj35;
    DPSBinObjGeneric obj36;
    DPSBinObjGeneric obj37;
    char obj38[9];
    } _dpsQ;
  static const _dpsQ _dpsStat = {
    DPS_DEF_TOKENTYPE, 28, 317,
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78},	/* gsave */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_x */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: center_y */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173},	/* translate */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 80},	/* gt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 264},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 102},	/* lt */
    {DPS_EXEC|DPS_ARRAY, 0, 5, 224},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 84},	/* if */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111},	/* newpath */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.6666},
    {DPS_EXEC|DPS_NAME, 0, 9, 304},	/* nxsetgray */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0.5},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: radius */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1},	/* add */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_LITERAL|DPS_INT, 0, 0, 360},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 5},	/* arc */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 22},	/* closepath */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 66},	/* fill */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77},	/* grestore */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: height */
    {DPS_LITERAL|DPS_REAL, 0, 0, 0},	/* param: width */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54},	/* div */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139},	/* scale */
    {'n','x','s','e','t','g','r','a','y'},
    }; /* _dpsQ */
  _dpsQ _dpsF;	/* local copy  */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
  _dpsF = _dpsStat;	/* assign automatic variable */

  _dpsP[4].val.realVal =
  _dpsP[34].val.realVal =
  _dpsP[9].val.realVal =
  _dpsP[29].val.realVal = height;
  _dpsP[5].val.realVal =
  _dpsP[35].val.realVal =
  _dpsP[10].val.realVal =
  _dpsP[28].val.realVal = width;
  _dpsP[1].val.realVal = center_x;
  _dpsP[2].val.realVal = center_y;
  _dpsP[19].val.realVal = radius;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,317);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 212 "wraps.psw"

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.