使用绘制圆弧的方法,输出一个统计图表“圆饼图”和一个“折扇”。 原始数据在数组Data中,这5个数据在圆饼图中为角度不同的扇形,各自角度的计算值分别为38、91、54、125、53,放在数组drgree中。第一个数据的扇形起始角start=0,用绿色画。第二个的起始角start=38,用蓝色画。最后一个的起始角start=308,用橙色画。 折扇的画法是:在左上角坐标(130,40),长150,宽80的椭圆区域内,从22度开始逆时针地画一个15度的扇性,再画一段15度的椭圆弧;然后交替地画扇形和圆弧。
标签: 绘制
上传时间: 2014-08-09
上传用户:liuchee
一个通过odbc链接数据库(mysql)的奖学金评定系统!·
上传时间: 2014-01-07
上传用户:225588
一个嵌入式系统通过GPRS进行数据传输的程序,协议芯片为5112,程序中描述了通过单片机上网及通过UDP数据传输的过程
上传时间: 2013-12-19
上传用户:一诺88
java包与接口的一个简单应用
上传时间: 2015-02-19
上传用户:libenshu01
密码大家Shoup写的数论算法c语言实现,Unix版本
上传时间: 2014-12-07
上传用户:时代电子小智
坦克大战,基于directx
标签:
上传时间: 2015-02-20
上传用户:teddysha
嵌入式设备上查找文件的类
标签: 嵌入式设备
上传时间: 2013-12-13
上传用户:banyou
使用Java语言编写的Web Service通用客户端和测试工具
上传时间: 2015-02-20
上传用户:懒龙1988
Lachesis an IRCRPG combat engine written in a combination of C and C++. The combat engine is being written for a specific RPG, but most of the project should be useful to IRCRPGs in general. It includes a native interface to the IRC protocol to allow it to act as an IRC bot, for such uses as dice rolling and acting as a remote-controlled client (RPG NPC perhaps).
标签: combat engine combination Lachesis
上传时间: 2014-01-26
上传用户:firstbyte
一个用Java开发的细胞自动机
上传时间: 2014-11-29
上传用户:叶山豪