博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2011年11月10日

摘要: CGContextRef context = UIGraphicsGetCurrentContext();画一个正方形图形 没有边框CGContextSetRGBFillColor(context, 0, 0.25, 0, 0.5);CGContextFillRect(context, CGRectMake(2, 2, 270, 270));CGContextStrokePath(context);写文字CGContextSetLineWidth(context, 1.0);CGContextSetRGBFillColor (context, 1, 1, 1, 1.0);UIFont *fon 阅读全文
posted @ 2011-11-10 23:29 Likwo 阅读(6086) 评论(0) 推荐(0) 编辑