2020年1月9日
摘要: iOS image UIImage 创建过程 UIImage 常规创建过程 UIImage *image =[ UIImage imageNamed:@"xx.png"]; CGmage的创建过程 CGImageRef imageRef = CGImageCreateWithImageInRect( 阅读全文
posted @ 2020-01-09 13:45 wp7ers 阅读(195) 评论(0) 推荐(0)
摘要: CG开头的方法,明显不是NS系列的api。是一套类似 android 中 Graphics类 。 在android 中 view 最终调用 Graphics绘制内容。利用Graphics 和Paint 可以绘制自各种自定义view. iOS 开发中 Core Graphics 大部门能找到对应方法。 阅读全文
posted @ 2020-01-09 11:47 wp7ers 阅读(578) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/shihuboke/article/details/82621013 阅读全文
posted @ 2020-01-09 00:11 wp7ers 阅读(108) 评论(0) 推荐(0)