Rendering a View into an Image
Rendering a View into an Image
- Subject: Rendering a View into an Image
- From: Charles Jolley <email@hidden>
- Date: Wed, 10 Oct 2001 08:40:48 -0500
Hi:
I think I've seen discussion float through here on this before, but
I can't seem to find it in the archives. I am wanting to render an
NSView into an image. The NSView in question will NOT be visible on the
screen. Is there a way to do this? Does anyone know how?
The NSImage docs talk as if drawing is done into an offscreen
window, so one would imagine it would be possible to add Views to have
them rendered.
Thanks,
-Charles