• 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: Moving a window offscreen
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving a window offscreen


  • Subject: Re: Moving a window offscreen
  • From: Jonathan Dann <email@hidden>
  • Date: Sat, 7 Mar 2009 12:17:35 +0100


On 7 Mar 2009, at 11:14, Paul Sanders wrote:

Which technique? The Quartz technique will get you the full window,
including the titlebar. The -dataWithPDFInsideRect: gets you PDF data
instead of a bitmap. Neither of which is advantageous when you want a
bitmap image of the contents of a window.

If you are using Core Animation, you might try setting the opacity of the
window's layer to 0. (Forgive me is this is complete rubbish as I only have
a vague idea of what I am talking about).



No problem! Thanks for taking the time to suggest something.

Unfortunately my window isn't layer-backed or layer-hosting. If it were, then trying to capture any bitmap data would likely respect the opacity setting and I'd get a transparent image.

All suggestions are appreciated though, thanks.

Jonathan

http://espresso-served-here.com
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Moving a window offscreen (From: Jonathan Dann <email@hidden>)
 >Re: Moving a window offscreen (From: Michael Ash <email@hidden>)
 >Re: Moving a window offscreen (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Moving a window offscreen (From: Kyle Sluder <email@hidden>)
 >Re: Moving a window offscreen (From: "Paul Sanders" <email@hidden>)

  • Prev by Date: Re: Moving a window offscreen
  • Next by Date: Re: NSOperation and NSAutoreleasePool
  • Previous by thread: Re: Moving a window offscreen
  • Next by thread: Re: Moving a window offscreen
  • Index(es):
    • Date
    • Thread