ftp.nice.ch/pub/next/unix/developer/plplot.3.0.s.tar.gz#/plplot/src/plpat.c

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

/* Sets line width */

#include "plplot.h"

void plpat(nlin,inc,del)
int nlin, *inc, *del;
{
   int i, level;

   glev(&level);
   if (level < 1)  plexit("Please call plstar before calling plpat.");
   if(nlin<1 || nlin>2) plexit("Only 1 or 2 line styles allowed in plpat.");

   for(i=0; i<nlin; i++)
     if(del[i] < 0)plexit("Line spacing must be greater than 0 in plpat.");
   spat(inc,del,nlin);
}

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