1 绘图 绘图方面有一个很好的帖子 http://blog.youkuaiyun.com/ubunfans/article/details/24421981 2 画一个多边形的框 没有找到对应的函数,最后用划线函数拼出来了.