home *** CD-ROM | disk | FTP | other *** search
- /* 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 PSWTitle(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;
- DPSBinObjReal obj32;
- DPSBinObjGeneric obj33;
- DPSBinObjGeneric obj34;
- DPSBinObjGeneric obj35;
- DPSBinObjGeneric obj36;
- DPSBinObjGeneric obj37;
- DPSBinObjGeneric obj38;
- char obj39[6];
- char obj40[7];
- } _dpsQ;
- static const _dpsQ _dpsStat = {
- DPS_DEF_TOKENTYPE, 29, 329,
- {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, 7, 318}, /* printIt */
- {DPS_EXEC|DPS_ARRAY, 0, 5, 272},
- {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, 232},
- {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, 7, 318}, /* printIt */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 77}, /* grestore */
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150}, /* setgray */
- {DPS_EXEC|DPS_NAME, 0, 7, 318}, /* 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, 6, 312},
- {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 160}, /* show */
- {'S','U','M',' ','I','T'},
- {'p','r','i','n','t','I','t'},
- }; /* _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 = xscale;
- _dpsP[2].val.realVal = yscale;
- DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,329);
- if (0) *pad = 0; /* quiets compiler warnings */
- }
- #line 16 "title.psw"
-
-