Actually just window shots.

I feel like I've been fighting with the screen shot code, and that it shouldn't 
be this difficult. I get past one problem only to find another. My most recent 
seems intractable.

If drawing to the window happens when the window is not completely on screen 
and if you drag the window so that it is fully visible on screen so you can see 
that all the drawing you did is actually drawn and then take a snapshot using 
CGWindowListCreateImage of the fully visible window, the bit of the window that 
was offscreen when drawn to is missing the drawing that happened at that time. 
The size of the window shot is correct it is just as if the drawing didn't 
happen to that part of the window.

I hope I've described this well enough.

Is there something I'm missing that will cause CGWindowListCreateImage to 
capture all the drawing.

Kevin


_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to