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.
我有办法从 CGMutablePathRef 中删除所有路径并获得清晰的路径吗?
我正在绘制一条路径,我希望将其空置以供重用?
我不这么认为,只需发布它并创建一个新的 - 无论如何应该更快。
CGPathRelease(pathref); pathref = CGPathCreateMutable();