home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula
/
nebula.bin
/
SourceCode
/
Palettes
/
RotationSliderPalette
/
sym
/
RotationSliderWraps.c
next >
Wrap
C/C++ Source or Header
|
1993-06-24
|
30KB
|
825 lines
/* ./sym/RotationSliderWraps.c generated from RotationSliderWraps.psw
by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989
*/
#include <dpsclient/dpsfriends.h>
#include <string.h>
#line 1 "RotationSliderWraps.psw"
/* Copyright 1993 by Don Yacktman. see accompanying source for */
/* pertinent licensing details. */
#line 12 "./sym/RotationSliderWraps.c"
void PSdrawBezel(float grayLevel)
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjGeneric obj1;
DPSBinObjReal obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjReal obj7;
DPSBinObjGeneric obj8;
DPSBinObjGeneric obj9;
DPSBinObjGeneric obj10;
DPSBinObjGeneric obj11;
DPSBinObjGeneric obj12;
DPSBinObjGeneric obj13;
DPSBinObjGeneric obj14;
DPSBinObjGeneric obj15;
DPSBinObjGeneric obj16;
DPSBinObjReal obj17;
DPSBinObjReal obj18;
DPSBinObjReal obj19;
DPSBinObjGeneric obj20;
DPSBinObjGeneric obj21;
DPSBinObjGeneric obj22;
DPSBinObjGeneric obj23;
DPSBinObjGeneric obj24;
DPSBinObjReal obj25;
DPSBinObjGeneric obj26;
DPSBinObjGeneric obj27;
DPSBinObjGeneric obj28;
DPSBinObjGeneric obj29;
DPSBinObjGeneric obj30;
DPSBinObjGeneric obj31;
DPSBinObjGeneric obj32;
DPSBinObjGeneric obj33;
DPSBinObjGeneric obj34;
DPSBinObjGeneric obj35;
DPSBinObjGeneric obj36;
DPSBinObjReal obj37;
DPSBinObjReal obj38;
DPSBinObjReal obj39;
DPSBinObjGeneric obj40;
DPSBinObjGeneric obj41;
DPSBinObjGeneric obj42;
DPSBinObjGeneric obj43;
DPSBinObjGeneric obj44;
DPSBinObjGeneric obj45;
DPSBinObjGeneric obj46;
DPSBinObjGeneric obj47;
DPSBinObjGeneric obj48;
DPSBinObjGeneric obj49;
DPSBinObjGeneric 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;
DPSBinObjGeneric obj67;
DPSBinObjGeneric obj68;
DPSBinObjReal obj69;
DPSBinObjReal obj70;
DPSBinObjReal obj71;
DPSBinObjGeneric obj72;
DPSBinObjGeneric obj73;
DPSBinObjGeneric obj74;
DPSBinObjGeneric obj75;
DPSBinObjGeneric obj76;
DPSBinObjReal obj77;
DPSBinObjGeneric obj78;
DPSBinObjGeneric obj79;
DPSBinObjGeneric obj80;
DPSBinObjGeneric obj81;
DPSBinObjGeneric obj82;
DPSBinObjGeneric obj83;
DPSBinObjGeneric obj84;
DPSBinObjGeneric obj85;
DPSBinObjGeneric obj86;
DPSBinObjReal obj87;
DPSBinObjReal obj88;
DPSBinObjReal obj89;
DPSBinObjGeneric obj90;
DPSBinObjGeneric obj91;
DPSBinObjGeneric obj92;
DPSBinObjGeneric obj93;
DPSBinObjGeneric obj94;
DPSBinObjGeneric obj95;
DPSBinObjGeneric obj96;
DPSBinObjGeneric obj97;
DPSBinObjGeneric obj98;
DPSBinObjGeneric obj99;
DPSBinObjGeneric obj100;
DPSBinObjGeneric obj101;
DPSBinObjGeneric obj102;
DPSBinObjReal obj103;
DPSBinObjReal obj104;
DPSBinObjReal obj105;
DPSBinObjGeneric obj106;
DPSBinObjGeneric obj107;
DPSBinObjGeneric obj108;
DPSBinObjGeneric obj109;
DPSBinObjGeneric obj110;
DPSBinObjGeneric obj111;
DPSBinObjGeneric obj112;
DPSBinObjGeneric obj113;
DPSBinObjGeneric obj114;
DPSBinObjGeneric obj115;
DPSBinObjGeneric obj116;
DPSBinObjGeneric obj117;
DPSBinObjGeneric obj118;
DPSBinObjReal obj119;
DPSBinObjReal obj120;
DPSBinObjReal obj121;
DPSBinObjGeneric obj122;
DPSBinObjGeneric obj123;
DPSBinObjGeneric obj124;
DPSBinObjGeneric obj125;
DPSBinObjGeneric obj126;
DPSBinObjGeneric obj127;
DPSBinObjGeneric obj128;
DPSBinObjGeneric obj129;
DPSBinObjGeneric obj130;
DPSBinObjGeneric obj131;
DPSBinObjGeneric obj132;
DPSBinObjGeneric obj133;
DPSBinObjGeneric obj134;
DPSBinObjGeneric obj135;
DPSBinObjGeneric obj136;
DPSBinObjReal obj137;
DPSBinObjReal obj138;
DPSBinObjReal obj139;
DPSBinObjGeneric obj140;
DPSBinObjGeneric obj141;
DPSBinObjGeneric obj142;
DPSBinObjGeneric obj143;
DPSBinObjGeneric obj144;
DPSBinObjGeneric obj145;
DPSBinObjGeneric obj146;
DPSBinObjGeneric obj147;
DPSBinObjGeneric obj148;
DPSBinObjGeneric obj149;
DPSBinObjGeneric obj150;
DPSBinObjGeneric obj151;
DPSBinObjGeneric obj152;
DPSBinObjReal obj153;
DPSBinObjReal obj154;
DPSBinObjReal obj155;
DPSBinObjGeneric obj156;
DPSBinObjGeneric obj157;
DPSBinObjGeneric obj158;
DPSBinObjGeneric obj159;
DPSBinObjGeneric obj160;
DPSBinObjGeneric obj161;
DPSBinObjGeneric obj162;
DPSBinObjGeneric obj163;
DPSBinObjGeneric obj164;
DPSBinObjGeneric obj165;
DPSBinObjGeneric obj166;
DPSBinObjGeneric obj167;
DPSBinObjGeneric obj168;
DPSBinObjReal obj169;
DPSBinObjReal obj170;
DPSBinObjReal obj171;
DPSBinObjGeneric obj172;
DPSBinObjGeneric obj173;
DPSBinObjGeneric obj174;
DPSBinObjGeneric obj175;
DPSBinObjGeneric obj176;
DPSBinObjReal obj177;
DPSBinObjGeneric obj178;
DPSBinObjGeneric obj179;
DPSBinObjGeneric obj180;
DPSBinObjGeneric obj181;
DPSBinObjGeneric obj182;
DPSBinObjGeneric obj183;
DPSBinObjGeneric obj184;
DPSBinObjGeneric obj185;
DPSBinObjGeneric obj186;
DPSBinObjReal obj187;
DPSBinObjReal obj188;
DPSBinObjReal obj189;
DPSBinObjGeneric obj190;
DPSBinObjGeneric obj191;
DPSBinObjGeneric obj192;
DPSBinObjGeneric obj193;
DPSBinObjGeneric obj194;
DPSBinObjGeneric obj195;
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 196, 1572,
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 111}, /* newpath */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.16},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 155}, /* setlinewidth */
{DPS_LITERAL|DPS_INT, 0, 0, -44},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.666},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 101},
{DPS_LITERAL|DPS_INT, 0, 0, 101},
{DPS_LITERAL|DPS_INT, 0, 0, 49},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.08},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 155}, /* setlinewidth */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 48},
{DPS_LITERAL|DPS_INT, 0, 0, 2},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 48},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_LITERAL|DPS_INT, 0, 0, 2},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.333},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 49},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 49},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 51},
{DPS_LITERAL|DPS_INT, 0, 0, -1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 51},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_LITERAL|DPS_INT, 0, 0, -1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: grayLevel */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 100},
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 167}, /* stroke */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
char pad[3];
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[177].val.realVal = grayLevel;
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,1572);
if (0) *pad = 0; /* quiets compiler warnings */
}
#line 57 "RotationSliderWraps.psw"
#line 428 "./sym/RotationSliderWraps.c"
void PSdrawKnob(float angle)
{
typedef struct {
unsigned char tokenType;
unsigned char topLevelCount;
unsigned short nBytes;
DPSBinObjGeneric obj0;
DPSBinObjReal obj1;
DPSBinObjGeneric obj2;
DPSBinObjGeneric obj3;
DPSBinObjGeneric obj4;
DPSBinObjGeneric obj5;
DPSBinObjGeneric obj6;
DPSBinObjGeneric obj7;
DPSBinObjGeneric obj8;
DPSBinObjGeneric obj9;
DPSBinObjGeneric obj10;
DPSBinObjGeneric obj11;
DPSBinObjGeneric obj12;
DPSBinObjGeneric obj13;
DPSBinObjGeneric obj14;
DPSBinObjGeneric obj15;
DPSBinObjGeneric obj16;
DPSBinObjGeneric obj17;
DPSBinObjGeneric obj18;
DPSBinObjGeneric obj19;
DPSBinObjGeneric obj20;
DPSBinObjGeneric obj21;
DPSBinObjGeneric obj22;
DPSBinObjGeneric obj23;
DPSBinObjGeneric obj24;
DPSBinObjGeneric obj25;
DPSBinObjGeneric obj26;
DPSBinObjGeneric obj27;
DPSBinObjReal obj28;
DPSBinObjReal 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;
DPSBinObjReal obj44;
DPSBinObjReal obj45;
DPSBinObjReal obj46;
DPSBinObjGeneric obj47;
DPSBinObjGeneric obj48;
DPSBinObjGeneric obj49;
DPSBinObjGeneric obj50;
DPSBinObjGeneric obj51;
DPSBinObjGeneric obj52;
DPSBinObjGeneric obj53;
DPSBinObjGeneric obj54;
DPSBinObjGeneric obj55;
DPSBinObjGeneric obj56;
DPSBinObjGeneric obj57;
DPSBinObjGeneric obj58;
DPSBinObjGeneric obj59;
DPSBinObjReal obj60;
DPSBinObjReal obj61;
DPSBinObjReal obj62;
DPSBinObjGeneric obj63;
DPSBinObjGeneric obj64;
DPSBinObjGeneric obj65;
DPSBinObjGeneric obj66;
DPSBinObjGeneric obj67;
DPSBinObjReal obj68;
DPSBinObjGeneric obj69;
DPSBinObjGeneric obj70;
DPSBinObjGeneric obj71;
DPSBinObjGeneric obj72;
DPSBinObjGeneric obj73;
DPSBinObjGeneric obj74;
DPSBinObjGeneric obj75;
DPSBinObjGeneric obj76;
DPSBinObjGeneric obj77;
DPSBinObjReal obj78;
DPSBinObjReal obj79;
DPSBinObjReal obj80;
DPSBinObjGeneric obj81;
DPSBinObjGeneric obj82;
DPSBinObjGeneric obj83;
DPSBinObjGeneric obj84;
DPSBinObjGeneric obj85;
DPSBinObjGeneric obj86;
DPSBinObjGeneric obj87;
DPSBinObjGeneric obj88;
DPSBinObjGeneric obj89;
DPSBinObjGeneric obj90;
DPSBinObjGeneric obj91;
DPSBinObjGeneric obj92;
DPSBinObjGeneric obj93;
DPSBinObjReal obj94;
DPSBinObjReal obj95;
DPSBinObjReal obj96;
DPSBinObjGeneric obj97;
DPSBinObjGeneric obj98;
DPSBinObjGeneric obj99;
DPSBinObjGeneric obj100;
DPSBinObjGeneric obj101;
DPSBinObjGeneric obj102;
DPSBinObjGeneric obj103;
DPSBinObjGeneric obj104;
DPSBinObjGeneric obj105;
DPSBinObjGeneric obj106;
DPSBinObjGeneric obj107;
DPSBinObjGeneric obj108;
DPSBinObjGeneric obj109;
DPSBinObjReal obj110;
DPSBinObjReal obj111;
DPSBinObjReal obj112;
DPSBinObjGeneric obj113;
DPSBinObjGeneric obj114;
DPSBinObjGeneric obj115;
DPSBinObjGeneric obj116;
DPSBinObjGeneric obj117;
DPSBinObjGeneric obj118;
DPSBinObjGeneric obj119;
DPSBinObjGeneric obj120;
DPSBinObjGeneric obj121;
DPSBinObjGeneric obj122;
DPSBinObjGeneric obj123;
DPSBinObjGeneric obj124;
DPSBinObjGeneric obj125;
DPSBinObjGeneric obj126;
DPSBinObjGeneric obj127;
DPSBinObjReal obj128;
DPSBinObjReal obj129;
DPSBinObjReal obj130;
DPSBinObjGeneric obj131;
DPSBinObjGeneric obj132;
DPSBinObjGeneric obj133;
DPSBinObjGeneric obj134;
DPSBinObjGeneric obj135;
DPSBinObjGeneric obj136;
DPSBinObjGeneric obj137;
DPSBinObjGeneric obj138;
DPSBinObjGeneric obj139;
DPSBinObjGeneric obj140;
DPSBinObjGeneric obj141;
DPSBinObjGeneric obj142;
DPSBinObjGeneric obj143;
DPSBinObjReal obj144;
DPSBinObjReal obj145;
DPSBinObjReal obj146;
DPSBinObjGeneric obj147;
DPSBinObjGeneric obj148;
DPSBinObjGeneric obj149;
DPSBinObjGeneric obj150;
DPSBinObjGeneric obj151;
DPSBinObjGeneric obj152;
DPSBinObjGeneric obj153;
DPSBinObjGeneric obj154;
DPSBinObjGeneric obj155;
DPSBinObjGeneric obj156;
DPSBinObjGeneric obj157;
DPSBinObjGeneric obj158;
DPSBinObjGeneric obj159;
DPSBinObjReal obj160;
DPSBinObjReal obj161;
DPSBinObjReal obj162;
DPSBinObjGeneric obj163;
DPSBinObjGeneric obj164;
DPSBinObjGeneric obj165;
DPSBinObjGeneric obj166;
DPSBinObjGeneric obj167;
DPSBinObjReal obj168;
DPSBinObjGeneric obj169;
DPSBinObjGeneric obj170;
DPSBinObjGeneric obj171;
DPSBinObjGeneric obj172;
DPSBinObjGeneric obj173;
DPSBinObjGeneric obj174;
DPSBinObjGeneric obj175;
DPSBinObjGeneric obj176;
DPSBinObjGeneric obj177;
DPSBinObjReal obj178;
DPSBinObjReal obj179;
DPSBinObjReal obj180;
DPSBinObjGeneric obj181;
DPSBinObjGeneric obj182;
DPSBinObjGeneric obj183;
DPSBinObjGeneric obj184;
DPSBinObjGeneric obj185;
DPSBinObjGeneric obj186;
} _dpsQ;
static const _dpsQ _dpsStat = {
DPS_DEF_TOKENTYPE, 187, 1500,
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: angle */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 56}, /* dup */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 270}, /* cos */
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 108}, /* mul */
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 62}, /* exch */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 354}, /* sin */
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 108}, /* mul */
{DPS_LITERAL|DPS_INT, 0, 0, 50},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 1}, /* add */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_LITERAL|DPS_INT, 0, 0, -4},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 7},
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 7},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, -2},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.333},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 6},
{DPS_LITERAL|DPS_INT, 0, 0, -1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 6},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, -1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 4},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, 1},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_LITERAL|DPS_REAL, 0, 0, 0.666},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 8},
{DPS_LITERAL|DPS_INT, 0, 0, 5},
{DPS_LITERAL|DPS_INT, 0, 0, 0},
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */
{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.5},
{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, 66}, /* fill */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
{DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
}; /* _dpsQ */
_dpsQ _dpsF; /* local copy */
register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
char pad[3];
register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;
_dpsF = _dpsStat; /* assign automatic variable */
_dpsP[1].val.realVal = angle;
DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,1500);
if (0) *pad = 0; /* quiets compiler warnings */
}
#line 107 "RotationSliderWraps.psw"