UIView: how to do non-destructive drawing?

前端 未结 4 644
[愿得一人]
[愿得一人] 2020-12-08 08:03

My original question:

I\'m creating a simple drawing application and need to be able to draw over existing, previously drawn content in my d

4条回答
  •  旧巷少年郎
    2020-12-08 08:57

    It is fairly common to draw everything in an offscreen image, and simply display this image when drawing the screen. You can read: Creating a Bitmap Graphics Context.

提交回复
热议问题