为什么我画的矩形没有被填充成红色
#include<graphics.h>#include<conio.h>
int main()
{
int drive,mode,a,b;
drive=DETECT;
initgraph(&drive,&mode,"");
a=getcolor();
b=getbkcolor();
setbkcolor(LIGHTBLUE);
cleardevice();
setcolor(YELLOW);
setfillstyle(SOLID_FILL,RED);
bar(10,10,100,120);
setcolor(a);
setbkcolor(b);
getch();
closegraph();
return 0;
}