This is title.c in view mode; [Download] [Up]
/* title.c generated from title.psw by unix pswrap V1.009 Wed Apr 19 17:50:24 PDT 1989 */ #include <dpsclient/dpsfriends.h> #include <string.h> #line 1 "title.psw" #line 10 "title.c" void PSWTestTitle(float xscale, float yscale) { typedef struct { unsigned char tokenType; unsigned char topLevelCount; unsigned short nBytes; DPSBinObjGeneric obj0; DPSBinObjReal obj1; DPSBinObjReal 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; DPSBinObjReal obj18; DPSBinObjReal obj19; DPSBinObjGeneric obj20; DPSBinObjGeneric obj21; DPSBinObjGeneric obj22; DPSBinObjGeneric obj23; DPSBinObjGeneric obj24; DPSBinObjGeneric obj25; DPSBinObjGeneric obj26; DPSBinObjGeneric obj27; DPSBinObjGeneric obj28; DPSBinObjGeneric obj29; DPSBinObjGeneric 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; DPSBinObjGeneric obj47; DPSBinObjGeneric obj48; DPSBinObjGeneric obj49; DPSBinObjGeneric obj50; DPSBinObjGeneric obj51; DPSBinObjReal obj52; DPSBinObjGeneric obj53; DPSBinObjGeneric obj54; DPSBinObjGeneric obj55; DPSBinObjGeneric obj56; DPSBinObjGeneric obj57; DPSBinObjGeneric obj58; char obj59[7]; char obj60[37]; char obj61[31]; } _dpsQ; static const _dpsQ _dpsStat = { DPS_DEF_TOKENTYPE, 49, 551, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 78}, /* gsave */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: xscale */ {DPS_LITERAL|DPS_REAL, 0, 0, 0}, /* param: yscale */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 139}, /* scale */ {DPS_LITERAL|DPS_INT, 0, 0, 108}, {DPS_LITERAL|DPS_INT, 0, 0, 132}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */ {DPS_LITERAL|DPS_NAME, 0, DPSSYSNAME, 210}, /* Times-Italic */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 67}, /* findfont */ {DPS_LITERAL|DPS_INT, 0, 0, 80}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 140}, /* scalefont */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 149}, /* setfont */ {DPS_LITERAL|DPS_NAME, 0, 0, 0}, /* printIt */ {DPS_EXEC|DPS_ARRAY, 0, 5, 432}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 51}, /* def */ {DPS_LITERAL|DPS_INT, 0, 0, 22}, {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */ {DPS_LITERAL|DPS_REAL, 0, 0, .98}, {DPS_LITERAL|DPS_REAL, 0, 0, -.02}, {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_EXEC|DPS_ARRAY, 0, 5, 392}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 72}, /* for */ {DPS_LITERAL|DPS_INT, 0, 0, 2}, {DPS_LITERAL|DPS_INT, 0, 0, 3}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 54}, /* div */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_EXEC|DPS_NAME, 0, 0, 0}, /* printIt */ {DPS_LITERAL|DPS_INT, 0, 0, -4}, {DPS_LITERAL|DPS_INT, 0, 0, -54}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */ {DPS_LITERAL|DPS_NAME, 0, DPSSYSNAME, 211}, /* Times-Roman */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 67}, /* findfont */ {DPS_LITERAL|DPS_INT, 0, 0, 24}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 140}, /* scalefont */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 149}, /* setfont */ {DPS_LITERAL|DPS_STRING, 0, 31, 516}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */ {DPS_LITERAL|DPS_INT, 0, 0, -44}, {DPS_LITERAL|DPS_INT, 0, 0, -84}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */ {DPS_LITERAL|DPS_NAME, 0, DPSSYSNAME, 211}, /* Times-Roman */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 67}, /* findfont */ {DPS_LITERAL|DPS_INT, 0, 0, 24}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 140}, /* scalefont */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 149}, /* setfont */ {DPS_LITERAL|DPS_STRING, 0, 37, 479}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */ {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */ {DPS_EXEC|DPS_NAME, 0, 0, 0}, /* printIt */ {DPS_LITERAL|DPS_INT, 0, 0, -1}, {DPS_LITERAL|DPS_REAL, 0, 0, .5}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 173}, /* translate */ {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_LITERAL|DPS_INT, 0, 0, 0}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107}, /* moveto */ {DPS_LITERAL|DPS_STRING, 0, 7, 472}, {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */ {'n','x','y','V','i','e','w'}, {'C','l','i','c','k',' ','R','I','G','H','T',' ','m','o','u','s','e',' ','b','u','t','t','o','n',' ','t','o',' ','l','o','a','d',' ','d','a','t','a'}, {'I','n',' ',' ','I','n','t','e','r','f','a','c','e',' ','B','u','i','l','d','e','r',' ','T','e','s','t','M','o','d','e',','}, }; /* _dpsQ */ _dpsQ _dpsF; /* local copy */ register DPSContext _dpsCurCtxt = DPSPrivCurrentContext(); register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0; static long int _dpsCodes[3] = {-1}; { if (_dpsCodes[0] < 0) { static const char * const _dps_names[] = { "printIt", (char *) 0 , (char *) 0 }; long int *_dps_nameVals[3]; _dps_nameVals[0] = &_dpsCodes[0]; _dps_nameVals[1] = &_dpsCodes[1]; _dps_nameVals[2] = &_dpsCodes[2]; DPSMapNames(_dpsCurCtxt, 3, _dps_names, _dps_nameVals); } } _dpsF = _dpsStat; /* assign automatic variable */ _dpsP[1].val.realVal = xscale; _dpsP[2].val.realVal = yscale; _dpsP[12].val.nameVal = _dpsCodes[0]; _dpsP[50].val.nameVal = _dpsCodes[1]; _dpsP[27].val.nameVal = _dpsCodes[2]; DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,551); } #line 23 "title.psw"
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.