码迷,mamicode.com
首页 > 其他好文 > 详细

acclib的尝试

时间:2020-02-02 01:39:44      阅读:99      评论:0      收藏:0      [点我收藏+]

标签: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;

acclib的尝试

标签:ret   line   set   lin   int   test   black   现在   init   

原文地址:https://www.cnblogs.com/wengst/p/12250636.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!