标签:ret line set lin int test black 现在 init
initWindow("test",10,10,1000,1000);
beginPaint();/*所有的东西要出现在begin Paint和end之间*/
setPenWidth(15);
arc(110,120,800,800,405,410,405,410);
setPenWidth(20);
setPenColor(RGB(221,175,53));
arc(120,130,790,790,405,420,405,420);
setPenColor(RGB(221,175,53));
setPenWidth(38);
line(480,105,130,805);
setPenWidth(20);
setPenColor(BLACK);
line(455,100,110,800);
line(505,100,150,810);
line(455,100,505,100);
line(110,800,150,810);
setPenColor(RGB(221,175,53));
setPenWidth(38);
line(480,105,830,805);
setPenWidth(20);
setPenColor(BLACK);
line(455,100,810,800);
line(505,100,850,810);
line(455,100,505,100);
line(810,800,850,810);
setPenColor(RGB(221,175,53));
setPenWidth(38);
line(130,805,805,805);
setPenWidth(10);
setPenColor(BLACK);
line(110,800,810,800);
line(150,810,850,810);
line(100,800,150,810);
line(810,800,850,810);
endPaint();
return 0;
标签:ret line set lin int test black 现在 init
原文地址:https://www.cnblogs.com/wengst/p/12250636.html