home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / pcgraphc.zip / GRAPH.H < prev    next >
C/C++ Source or Header  |  1988-12-26  |  2KB  |  52 lines

  1.  
  2. #define        VIDEO        0x10    /* BIOS video int. */
  3. #define        WRT_PIX        0x0c    /* BIOS write pixel request */
  4. #define        SET_MODE    0    /* BIOS set video mode: al = video mode */
  5. #define        VIDEO_STATE    0x0f    /* BIOS get video state */
  6. #define        SET_COLOR    0x0b    /* setup color pallate request */
  7. #define        CGA_320x200    1    /* BIOS CGA 320x200, 4 color */
  8. #define        CGA_640x200    2    /* BIOS CGA 640x200 BW */
  9. #define        ATT_640x400    3    /* AT&T 640x400 BW, tiny type */
  10. #define        EGA_320x200    4    /* IBM EGA low-res 320x200, 16 color */
  11. #define        EGA_640x200    5    /* IBM EGA med-res 640x200, 16 color */
  12. #define        EGA_640x350    6    /* IBM EGA high-res 640x350, 16 color */
  13. #define        VGA_640x480    7    /* IBM VGA high-res 640x480, 16 color */
  14. #define        VGA_320x200    8    /* IBM VGA lo-res 320x200, 256 color */
  15.  
  16. void clip ( double, double, double, double );
  17. void csize ( double, double, double );
  18. void deg ();
  19. void draw ( double, double );
  20. void frame ();
  21. void graphics_off ();
  22. void g_init ();
  23. void idraw ( double, double );
  24. void imove ( double, double );
  25. void iplot ( double, double, int );
  26. void labelf ( char *, ... );
  27. void line_type ( int, double );
  28. void ldir ( double );
  29. void limit ( double, double, double, double );
  30. void locate ( double, double, double, double );
  31. void lorg ( int );
  32. void move ( double, double );
  33. void mscale ( double, double );
  34. void penup ();
  35. void pdir ( double );
  36. void pen ( int );
  37. void pivot ( double );
  38. void plot ( double, double, int );
  39. void rad ();
  40. double ratio ();
  41. void rdraw ( double, double );
  42. void rmove ( double, double );
  43. void rplot ( double, double, int );
  44. void scale ( double, double, double, double );
  45. void setgu ();
  46. void setuu ();
  47. void show ( double, double, double, double );
  48. void unclip ();
  49.  
  50. extern double X_mm = 220.0, Y_mm = 160.0;    /* screen size in mm */
  51.  
  52.