Professional Documents
Culture Documents
Borland Graphics Interface (BGI) For Windows
Borland Graphics Interface (BGI) For Windows
Functions:
void arc (int x, int y, int stangle, int endangle, int radius);
void bar (int left, int top, int right, int bottom);
void bar3d (int left, int top, int right, int bottom, int depth, int topflag);
ostringstream bgiout;
void ellipse (int x, int y, int stangle, int endangle, int xradius, int yradius);
void getimage (int left, int top, int right, int bottom, void *bitmap);
int graphresult(void);
unsigned imagesize (int left, int top, int right, int bottom);
int initwindow (int width, int height, const char* title="Windows BGI", int left=0, int top=0, bool dbflag=false, boo
void line (int x1, int y1, int x2, int y2);
void pieslice (int x, int y, int stangle, int endangle, int radius);
void printimage (
);
void putimage (int left, int top, void *bitmap, int op);
void readimagefile (
);
void rectangle (int left, int top, int right, int bottom);
RGB functions:
COLOR(r,g,b),
IS_BGI_COLOR(v), IS_RGB_COLOR(v)
void sector (int x, int y, int stangle, int endangle, int xradius, int yradius);
void setrgbpalette (int colornum, int red, int green, int blue);
void setusercharsize (int multx, int divx, int multy, int divy);
void setviewport (int left, int top, int right, int bottom, int clip);
void writeimagefile (
);