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 >
Wrap
Text File
|
1992-12-15
|
2KB
|
45 lines
/* */
/* Function prototypes */
/* */
#define AspectRatio ( getaspectratio(&xasp_,&yasp_),(double)xasp_/(double)yasp_ )
/* double AspectRatio; */ /* Aspect ratio of a pixel on the screen*/
#define MaxX (getmaxx())
#define MaxY (getmaxy())
/* int MaxX, MaxY; */ /* The maximum resolution of the screen */
#define MaxColors (getmaxcolor()+1)
/* int MaxColors; */ /* The maximum # of colors available */
void Initialize(void);
int ReportStatus(void far * UnusedPointer);
void TextDump(void);
int Bar3DDemo(void far * UnusedPointer);
int RandomBars(void far * UnusedPointer);
void TextDemo(void);
int ColorDemo(void far * UnusedPointer);
int ArcDemo(void far * UnusedPointer);
int CircleDemo(void far * UnusedPointer);
int PieDemo(void far * UnusedPointer);
int BarDemo(void far * UnusedPointer);
int LineRelDemo(void far * UnusedPointer);
int PutPixelDemo(void far * UnusedPointer);
int PutImageDemo(void far * UnusedPointer);
int LineToDemo(void far * UnusedPointer);
int LineStyleDemo(void far * UnusedPointer);
int CRTModeDemo(void far * UnusedPointer);
int UserLineStyleDemo(void far * UnusedPointer);
int FillStyleDemo(void far * UnusedPointer);
int FillPatternDemo(void far * UnusedPointer);
void PaletteDemo(void);
int PolyDemo(void far * UnusedPointer);
int SayGoodbye(void far * UnusedPointer);
void Pause(void);
void MainWindow(char *header);
void StatusLine(char *msg);
void DrawBorder(void);
void changetextstyle(int font, int direction, int charsize);
int gprintf(int *xloc, int *yloc, char *fmt, ... );