home *** CD-ROM | disk | FTP | other *** search
- /*
- UNIX graphics package
- "graph.h"
- Ver 1.0 ('89 8/2)
- (C) Mik
- * 89/09/25
- * ---- V2.4.0 distribution ----
- */
-
- #ifdef PC98XA
- /**** for pc-98XA ****/
- #define X_SIZE 1120
- #define Y_SIZE 750
- /* TEXT COLOR */
- #define BLACK 0
- #define BLUE 9
- #define RED 10
- #define VIORET 11
- #define GREEN 12
- #define MAZENDA 13
- #define YELLOW 14
- #define WHITE 15
- #else
- /**** for pc-9801 ****/
- #define X_SIZE 640
- #define Y_SIZE 400
- /* TEXT COLOR */
- #define BLACK 0
- #define BLUE 1
- #define RED 2
- #define VIORET 3
- #define GREEN 4
- #define MAZENDA 5
- #define YELLOW 6
- #define WHITE 7
- #endif /* PC98XA */
-
- #if X_SIZE > Y_SIZE
- #define S_SIZE Y_SIZE
- #else
- #define S_SIZE X_SIZE
- #endif
-
- void graph_init();
- #define graph_clear() gcls()
- /* void graph_clear(); */
- void point();
- void linemod();
- void colormod();
- void line();
- void box();
- void boxfill();
- int label();
- void arc();
- void circle();
-