ftp.nice.ch/pub/next/tools/screen/backspace/more3.0Views.tar.gz#/more3.0Views/Swarm/SwarmWraps.c

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

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

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

#line 1 "SwarmWraps.psw"
/* 

SwarmWraps.psw

Wraps to coalesce calls into the client library, avoiding single-ops
whereever possible.

Original Version: Scott Byer, Dec 16, 1991

*/
#line 20 "SwarmWraps.c"
void drawWasp(x0, y0, x1, y1, x2, y2)
int x0, y0, x1, y1, x2, y2; 
{
  typedef struct {
    unsigned char tokenType;
    unsigned char topLevelCount;
    unsigned short nBytes;

    DPSBinObjGeneric obj0;
    DPSBinObjGeneric 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;
    } _dpsQ;
  static _dpsQ _dpsF = {
    DPS_DEF_TOKENTYPE, 20, 164,
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 155},	/* setlinewidth */
    {DPS_LITERAL|DPS_INT, 0, 0, 1},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150},	/* setgray */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: x0 */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: y0 */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},	/* moveto */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: x1 */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: y1 */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 99},	/* lineto */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167},	/* stroke */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 150},	/* setgray */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: x1 */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: y1 */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 107},	/* moveto */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: x2 */
    {DPS_LITERAL|DPS_INT, 0, 0, 0},	/* param: y2 */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 99},	/* lineto */
    {DPS_EXEC|DPS_NAME, 0, DPSSYSNAME, 167},	/* stroke */
    }; /* _dpsQ */
  register DPSContext _dpsCurCtxt = DPSPrivCurrentContext();
  char pad[3];
  register DPSBinObjRec *_dpsP = (DPSBinObjRec *)&_dpsF.obj0;

  _dpsP[4].val.integerVal = x0;
  _dpsP[5].val.integerVal = y0;
  _dpsP[7].val.integerVal =
  _dpsP[13].val.integerVal = x1;
  _dpsP[8].val.integerVal =
  _dpsP[14].val.integerVal = y1;
  _dpsP[16].val.integerVal = x2;
  _dpsP[17].val.integerVal = y2;
  DPSBinObjSeqWrite(_dpsCurCtxt,(char *) &_dpsF,164);
  if (0) *pad = 0;    /* quiets compiler warnings */
}
#line 18 "SwarmWraps.psw"


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