Face With Tears Of Joy
//Face With Tears Of Joy
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd=DETECT,gm,x,y;
initgraph(&gd,&gm,"C:/TC/BGI");
x=getmaxx()/2;
y=getmaxy()/2;
setcolor(14);
circle(250,250,140);//face
setfillstyle(1,14);
floodfill(350,320,14);
setcolor(0);
arc(200,220,0,180,40);//eye1
arc(300,220,0,180,40);//eye2
arc(200,250,38,143,50);//eye1.2
arc(300,250,38,143,50);//eye2.2
setfillstyle(1,0);
floodfill(200,189,0);//eye1
floodfill(300,189,0);//eye2
setcolor(0);
arc(250,0,246,294,275);//lip1
arc(250,0,248,292,280);//lip1.2
arc(250,250,181,359,110);//lip2
arc(250,250,185,355,105);//lip2.2
setfillstyle(1,0);
floodfill(252,279,0);//lipup
floodfill(252,359,0);//lipdown
setfillstyle(1,12);
floodfill(252,302,0);//lipdown
setcolor(6);
arc(250,-7,249,292,287);//teethup
arc(251,-5,251,288,310);//teethdown
arc(250,250,185,202,105);//teethleft
arc(250,250,338,355,105);//teethright
setfillstyle(1,15);
floodfill(152,272,6);//teeth
setcolor(4);
arc(250,365,26,154,40);//TONGUE1
arc(250,255,248,293,100);//TONGUE2
setfillstyle(1,4);
floodfill(252,331,4);//tongue
setcolor(11);
line(125,230,160,225);//1DROPL1
line(150,255,160,225);//1DROPL2
line(350,255,340,225);//2dropl1
line(375,230,340,225);//2dropl2
arc(130,250,100,350,20);//1DROP
arc(371,250,190,80,20);//2DROP
setfillstyle(1,11);
floodfill(124,250,11);//1drop
floodfill(369,250,11);//2drop
getch();
closegraph();
}
OUTPUT


Comments
Post a Comment