C语言课程设计的界面应该使用哪些函数?以下是graphics.h中c语言修改桌面的函数的声明,常用c语言修改桌面的函数的都比较好懂,实在不行就查查MSDN吧,上面有好多名字类似c语言修改桌面的函数的函数功能都一样.
voidfar _Cdecl arc(int x, int y, int stangle, int endangle,
int radius);
voidfar _Cdecl bar(int left, int top, int right, int bottom);
voidfar _Cdecl bar3d(int left, int top, int right, int bottom,
int depth, int topflag);
voidfar _Cdecl circle(int x, int y, int radius);
voidfar _Cdecl cleardevice(void);
voidfar _Cdecl clearviewport(void);
voidfar _Cdecl closegraph(void);
voidfar _Cdecl detectgraph(int far *graphdriver,int far *graphmode);
voidfar _Cdecl drawpoly(int numpoints, int far *polypoints);
voidfar _Cdecl ellipse(int x, int y, int stangle, int endangle,
int xradius, int yradius);
voidfar _Cdecl fillellipse( int x, int y, int xradius, int yradius );
voidfar _Cdecl fillpoly(int numpoints, int far *polypoints);
voidfar _Cdecl floodfill(int x, int y, int border);
voidfar _Cdecl getarccoords(struct arccoordstype far *arccoords);
voidfar _Cdecl getaspectratio(int far *xasp, int far *yasp);
intfar _Cdecl getbkcolor(void);
intfar _Cdecl getcolor(void);
struct palettetype * far _Cdecl getdefaultpalette( void );
char *far _Cdecl getdrivername( void );
voidfar _Cdecl getfillpattern(char far *pattern);
voidfar _Cdecl getfillsettings(struct fillsettingstype far *fillinfo);
intfar _Cdecl getgraphmode(void);
voidfar _Cdecl getimage(int left, int top, int right, int bottom,
void far *bitmap);
voidfar _Cdecl getlinesettings(struct linesettingstype far *lineinfo);
intfar _Cdecl getmaxcolor(void);
intfar _Cdecl getmaxmode(void);
intfar _Cdecl getmaxx(void);
intfar _Cdecl getmaxy(void);
char *far _Cdecl getmodename( int mode_number );
voidfar _Cdecl getmoderange(int graphdriver, int far *lomode,
int far *himode);
unsignedfar _Cdecl getpixel(int x, int y);
voidfar _Cdecl getpalette(struct palettetype far *palette);
intfar _Cdecl getpalettesize( void );
voidfar _Cdecl gettextsettings(struct textsettingstype far *texttypeinfo);
voidfar _Cdecl getviewsettings(struct viewporttype far *viewport);
intfar _Cdecl getx(void);
intfar _Cdecl gety(void);
voidfar _Cdecl graphdefaults(void);
char *far _Cdecl grapherrormsg(int errorcode);
voidfar _Cdecl _graphfreemem(void far *ptr, unsigned size);
void far * far _Cdecl _graphgetmem(unsigned size);
intfar _Cdecl graphresult(void);
unsignedfar _Cdecl imagesize(int left, int top, int right, int bottom);
voidfar _Cdecl initgraph(intfar *graphdriver,
intfar *graphmode,
char far *pathtodriver);
intfar _Cdecl installuserdriver( char far *name, int huge (*detect)(void) );
intfar _Cdecl installuserfont( char far *name );
voidfar _Cdecl line(int x1, int y1, int x2, int y2);
voidfar _Cdecl linerel(int dx, int dy);
voidfar _Cdecl lineto(int x, int y);
voidfar _Cdecl moverel(int dx, int dy);
voidfar _Cdecl moveto(int x, int y);
voidfar _Cdecl outtext(char far *textstring);
voidfar _Cdecl outtextxy(int x, int y, char far *textstring);
voidfar _Cdecl pieslice(int x, int y, int stangle, int endangle,
int radius);
voidfar _Cdecl putimage(int left, int top, void far *bitmap, int op);
voidfar _Cdecl putpixel(int x, int y, int color);
voidfar _Cdecl rectangle(int left, int top, int right, int bottom);
voidfar _Cdecl restorecrtmode(void);
voidfar _Cdecl sector( int X, int Y, int StAngle, int EndAngle,
int XRadius, int YRadius );
voidfar _Cdecl setactivepage(int page);
voidfar _Cdecl setallpalette(struct palettetype far *palette);
voidfar _Cdecl setaspectratio( int xasp, int yasp );
推荐阅读
- 直播伴侣售后电话,直播伴侣有什么作用
- 显卡怎么看bios版本,bios怎样看显卡
- 取第二postgresql,取第二位到第六位
- 如何进行有效沟通ppt,如何进行有效沟通英语作文
- java中代码怎么换行 java程序怎么换行
- 我什么都不缺现场直播,我啥都不缺就缺你
- 抖音如何关闭直播推广通知,抖音怎么关闭直播推送
- python主函数退出 python返回函数值并退出函数
- Html5平面图3D旋转,html5图片3d旋转