cgcontextrefnbsp专题

iphonenbsp;CGContextRefnbsp;使用画…

原文地址:iphone CGContextRef 使用画一些简单图形 作者:若水一叶 获取上下文 CGContextRef context = UIGraphicsGetCurrentContext();   画一个正方形图形 没有边框 CGContextSetRGBFillColor(context, 0, 0.25, 0, 0.5); CGContextFillRect(c