kaibakker
kaibakker

Reputation: 311

Use the same copying technique as NSScrollview

The NSScrollView copies its document view when it is scrolling. How can I use this same idea of copying a part of my view to paste it later when everything has moved.

Upvotes: 0

Views: 163

Answers (1)

Peter Hosey
Peter Hosey

Reputation: 96333

You probably want to create a bitmap image rep for caching purposes and cache to it. You can then either draw it directly or wrap it in an NSImage and draw that.

Upvotes: 1

Related Questions