• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Rendering an NSControl into a NSImage?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Rendering an NSControl into a NSImage? (From: Mark Alldritt <email@hidden>)

  • Prev by Date: Re: [OT] CVL
  • Next by Date: Um.. a little help?
  • Previous by thread: Re: Rendering an NSControl into a NSImage?
  • Next by thread: Re: Rendering an NSControl into a NSImage?
  • Index(es):
    • Date
    • Thread