Using vector graphics in iPhone games

半世苍凉 提交于 2019-12-02 21:07:26
mmccomb

Quartz 2D is a pretty lightweight framework for vector based graphics. It's very well documented...

Quartz Documentation

In particular I'd pay particular notice to layering and performance...

Quartz Layering and Performance

If performance is a worry I'd also have a read through the core animation documentation. Core animation uses CALayers to cache vectors drawn with Quartz to in-memory bitmaps. These CALayers can then be transformed and translated through the animation APIs. If you intend to perform a lot of drawing this is the route I would recommend.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!