Guest User

Untitled

a guest
Jan 20th, 2020
113
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void afisare(int dim,int *poligon)
  2. {
  3. drawpoly(dim,poligon);
  4.  
  5. }
  6.  
  7. int main()
  8. {
  9. initwindow(1000,1000);
  10. int O[120]=
  11. {
  12. 468, 36, 305, 36, 305,220, 313,228, 804,228,
  13. 751,161, 751,161, 730,139, 706,119, 682,101,
  14. 655, 85, 628, 71, 600, 59, 571, 50, 541, 43,
  15. 510, 38, 480, 36, 449, 36, 468, 36, 36,260,
  16. 36,228, 397,228, 397,851, 366,848, 336,842,
  17. 306,834, 276,824, 276,284, 252,260, 36,260
  18. };
  19. int poli_1[]= { 468, 36, 305, 36, 305,220, 313,228, 804,228,
  20. 751,161, 751,161, 730,139, 706,119, 682,101,
  21. 655, 85, 628, 71, 600, 59, 571, 50, 541, 43,
  22. 510, 38, 480, 36, 449, 36, 468, 36
  23. };
  24. afisare(19,poli_1);
  25.  
  26. int poli_2[]= {36,260,36,228, 397,228, 397,851, 366,848, 336,842,
  27. 306,834, 276,824, 276,284, 252,260, 36,260
  28. };
  29. afisare(11,poli_2);
  30. while(!kbhit());
  31. closegraph();
  32. return 0;
  33. }
RAW Paste Data