home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / COMM / MISC / SRC26_2.ZIP / SRC / GRAPH.H < prev    next >
Encoding:
C/C++ Source or Header  |  1989-09-25  |  979 b   |  56 lines

  1. /*
  2.     UNIX graphics package
  3.         "graph.h"
  4.         Ver 1.0   ('89 8/2)
  5.         (C) Mik
  6.  * 89/09/25
  7.  *      ---- V2.4.0 distribution ----
  8. */
  9.  
  10. #ifdef PC98XA
  11.     /**** for pc-98XA ****/
  12.     #define X_SIZE 1120
  13.     #define Y_SIZE 750
  14.     /* TEXT COLOR */
  15.     #define BLACK   0
  16.     #define BLUE    9
  17.     #define RED     10
  18.     #define VIORET  11
  19.     #define GREEN   12
  20.     #define MAZENDA 13
  21.     #define YELLOW  14
  22.     #define WHITE   15
  23. #else
  24.     /**** for pc-9801 ****/
  25.     #define X_SIZE 640
  26.     #define Y_SIZE 400
  27.     /* TEXT COLOR */
  28.     #define BLACK   0
  29.     #define BLUE    1
  30.     #define RED     2
  31.     #define VIORET  3
  32.     #define GREEN   4
  33.     #define MAZENDA 5
  34.     #define YELLOW  6
  35.     #define WHITE   7
  36. #endif /* PC98XA */
  37.  
  38. #if X_SIZE > Y_SIZE
  39.     #define S_SIZE Y_SIZE
  40. #else
  41.     #define S_SIZE X_SIZE
  42. #endif
  43.  
  44. void    graph_init();
  45. #define graph_clear() gcls()
  46. /*    void    graph_clear(); */
  47. void    point();
  48. void    linemod();
  49. void    colormod();
  50. void    line();
  51. void    box();
  52. void    boxfill();
  53. int    label();
  54. void    arc();
  55. void    circle();
  56.