vc6使用easyx软件画图问题
#include <graphics.h> #include <conio.h>
void main()
{
initgraph(650, 500);
//setbkcolor(GRAY);
cleardevice();
settextcolor(YELLOW);
char s[]="Press any key to continue ¡-";
outtextxy(250,150,s);
//settextstyle(16, 0);
setfillcolor(RED);
solidcircle(330,350,60);
setfillcolor(GREEN);
solidrectangle(0,350,650,500);
setcolor(YELLOW);
line(0,350,650,350);
line(0,370,650,370);
line(0,400,650,400);
line(0,440,650,440);
line(70,350,0,390);
line(120,350,0,430);
line(180,350,0,500);
line(210,350,110,500);
line(250,350,190,500);
line(280,350,250,500);
line(310,350,330,500);
line(350,350,430,500);
line(400,350,550,500);
line(450,350,650,500);
line(510,350,650,430);
line(550,350,650,390);
getch();
closegraph();
}
1.此程序中如何使用settextstyle函数改变字体
2.想让背景颜色变成灰色setbkcolor()括号中要填写哪个单词