Re: Rendering an NSControl into a NSImage?
Re: Rendering an NSControl into a NSImage?
- Subject: Re: Rendering an NSControl into a NSImage?
- From: Carl Norum <email@hidden>
- Date: Tue, 1 Apr 2003 15:51:12 -0600
On Tuesday, April 1, 2003, at 03:00 PM, Mark Alldritt wrote:
Thanks for the pointer. However, the problem with this sample is that
it
(a) requires that the control be on-screen, and (b) includes the window
background. I want to capture the image of the control without the
background.
Why not use NSView's "dataWithPDFInsideRect:" method? NSControls
inherit from NSView.
--
Carl J Norum
5th Year Electrical Engineering/Computer Science Student
University of Saskatchewan
Saskatoon, Canada
http://norum.homeunix.net/~carl/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.