home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / p / prbgi097.zip / C.ZIP / BGIDEMO.H < prev    next >
Text File  |  1992-12-15  |  2KB  |  45 lines

  1. /*                         */
  2. /* Function prototypes                 */
  3. /*                         */
  4.  
  5.  
  6. #define  AspectRatio ( getaspectratio(&xasp_,&yasp_),(double)xasp_/(double)yasp_ )
  7. /* double AspectRatio;  */    /* Aspect ratio of a pixel on the screen*/
  8. #define  MaxX  (getmaxx())
  9. #define  MaxY  (getmaxy())
  10. /* int    MaxX, MaxY;   */ /* The maximum resolution of the screen */
  11. #define  MaxColors (getmaxcolor()+1)
  12. /* int    MaxColors; */    /* The maximum # of colors available   */
  13.  
  14.  
  15. void Initialize(void);
  16. int ReportStatus(void far * UnusedPointer);
  17. void TextDump(void);
  18. int Bar3DDemo(void far * UnusedPointer);
  19. int RandomBars(void far * UnusedPointer);
  20. void TextDemo(void);
  21. int ColorDemo(void far * UnusedPointer);
  22. int ArcDemo(void far * UnusedPointer);
  23. int CircleDemo(void far * UnusedPointer);
  24. int PieDemo(void far * UnusedPointer);
  25. int BarDemo(void far * UnusedPointer);
  26. int LineRelDemo(void far * UnusedPointer);
  27. int PutPixelDemo(void far * UnusedPointer);
  28. int PutImageDemo(void far * UnusedPointer);
  29. int LineToDemo(void far * UnusedPointer);
  30. int LineStyleDemo(void far * UnusedPointer);
  31. int CRTModeDemo(void far * UnusedPointer);
  32. int UserLineStyleDemo(void far * UnusedPointer);
  33. int FillStyleDemo(void far * UnusedPointer);
  34. int FillPatternDemo(void far * UnusedPointer);
  35. void PaletteDemo(void);
  36. int PolyDemo(void far * UnusedPointer);
  37. int SayGoodbye(void far * UnusedPointer);
  38. void Pause(void);
  39. void MainWindow(char *header);
  40. void StatusLine(char *msg);
  41. void DrawBorder(void);
  42. void changetextstyle(int font, int direction, int charsize);
  43. int  gprintf(int *xloc, int *yloc, char *fmt, ... );
  44.  
  45.