【发布时间】:2010-12-15 15:46:12
【问题描述】:
这可能是一个非常愚蠢的问题,但有人能告诉我使用 UIGraphicsBeginImageContext 创建 CGContextRef 和使用 CGBitmapContextCreate 绘制图像之间的区别吗?特别是现在由于 UIKit 绘图是线程安全的,我想知道是否有任何理由使用 CGBitmapContextCreate 而不是 UIGraphicsBeginImageContext。
【问题讨论】:
-
“非常愚蠢的问题”通常不会让你获得 +6 票;)
标签: iphone ios uikit core-graphics