• 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
Taking screen shots
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Taking screen shots


  • Subject: Taking screen shots
  • From: Kevin Meaney <email@hidden>
  • Date: Wed, 18 Jun 2014 15:12:31 +0100

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@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


  • Follow-Ups:
    • Re: Taking screen shots
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Contribute some dictionary keys with registerDefaults
  • Next by Date: Re: Bindings setup with NSCollectionViews
  • Previous by thread: Re: Contribute some dictionary keys with registerDefaults
  • Next by thread: Re: Taking screen shots
  • Index(es):
    • Date
    • Thread