KĀ IZVEIDOT CILVĒKU FACE

Neliels programmēšanas gals no ramachandra1990, lūdzu, baudiet to.

Kā izdarīt cilvēka seju?

 #include #include #include void main () {int gd = DETECT, gm; initgraph (& gd, & gm, "c: c bgi"); setcolor (GREEN); setbkcolor (0); / * ------------------- CHIN ------------------------ * / elipse ( 298, 244, 160, 380, 60, 80); / * ----------------- HAIR ------------------------ * / arc (300, 219, 400, 140, 80); elipse (355, 190, 270, 438, 10, 28); loka (359, 188, 169, 265, 30); elipse (288, 190, 180, 360, 40, 20); elipse (239, 193, 96, 370, 8, 25); / * --------------- Acu brows ------------------------- * / arc (282, 255, 89, 130, 40); loka (278, 259, 80, 120, 40); loka (314, 255, 405, 92, 40); loka (319, 259, 420, 100, 40); līnija (310, 215, 310, 220); līnija (284, 215, 284, 219); / * ------------------- Acis -------------------------- * / setfillstyle (SOLID_FILL, WHITE); elipse (320, 230, 0, 360, 10, 5); elipse (275, 230, 0, 360, 10, 5); aizpildījums (320, 230, 10, 5); aizpildījums (275, 230, 10, 5); setfillstyle (SOLID_FILL, BLACK); elipse (320, 230, 0, 360, 4, 4); elipse (275, 230, 0, 360, 4, 4); aizpildījums (320, 230, 5, 5); aizpildījums (275, 230, 5, 5); / * ------------------ Deguns ---------------------- * / elipse (280, 220, 270, 0, 10, 40); elipse (315, 220, 180, 270, 10, 40); elipse (285, 260, 100, 285, 8, 7); elipse (310, 260, 255, 70, 8, 7); aplis (320, 230, 2); aplis (275, 230, 2); loka (297, 257, 228, 689, 15); / * --------------------- MOUTH -------------------- * / elipse (298, 290, 0, 360, 30, 7); līnija (270, 290, 326, 290); / * ---------------------- Ausis -------------------- * / elipse (234 240), 0, 330, 4, 20); elipse (362, 240, 220, 170, 4, 20); getch (); tuvplāns (); restorecrtmode (); } 
Iepriekšējais Raksts Nākamais Raksts

Top Padomi