Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图写一个类似的手绘应用程序。但是画线总是有点慢。
如果您编写了类似的应用程序并优化了线条图,请解释一下。
丹的笔记精简版。
我会尝试其中一些设置。
注意 AllowAntialiasing 的底部设置。
CGContextBeginPath(context); CGContextSetInterpolationQuality(context, kCGInterpolationLow); CGContextSetAllowsAntialiasing(context, true);