home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume18 / treepar / part01 / plot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-03-12  |  575 b   |  32 lines

  1. /* plot.h - plot package stuff
  2.  *
  3.  * 30.Jul.87  jimmc  Initial defintion
  4.  * 17.Aug.87  jimmc  Add textsize function
  5.  * 27.Aug.87  jimmc  Remove box function
  6.  */
  7.  
  8. typedef struct _PDevInfo {    /* device descriptor */
  9.     struct _PDevInfo *next;    /* linked list of device descriptors */
  10.     char *name;
  11.     int (*init)();
  12.     int (*done)();
  13.     int (*line)();
  14.     int (*text)();
  15.     int (*textsize)();
  16. } PDevInfo;
  17.  
  18. extern PDevInfo *Pnew();
  19.  
  20. /* positions for text */
  21. #define N 0
  22. #define S 1
  23. #define E 2
  24. #define W 3
  25. #define NE 4
  26. #define NW 5
  27. #define SE 6
  28. #define SW 7
  29. #define C 8    /* center */
  30.  
  31. /* end */
  32.