ios绘图之quarz2d

1 - (void)drawRect:(CGRect)rect 2 { 3 // 1.获取上下文 4 CGContextRef ctx = UIGraphicsGetCurrentContext(); 5 6 // 2.创建路径(一个path就代表一条路径) 7 // 但凡通过quarzt2d中的带有create/ copy / retain 方
相关文章
相关标签/搜索