Re: Moving a window offscreen
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