Re: Taking screen shots
Re: Taking screen shots
- Subject: Re: Taking screen shots
- From: Kyle Sluder <email@hidden>
- Date: Wed, 18 Jun 2014 08:46:48 -0700
On Jun 18, 2014, at 8:36 AM, Kevin Meaney <email@hidden> wrote:
>
> The sequence of events are:
>
> 1. Drag window so that it is partially offscreen.
> 2. Draw into the window where part of the drawing happens in the part of the window that is offscreen.
Ok, what does this mean? In AppKit, you don’t draw into a window; the window asks you to draw. If you mean that you’re sending -drawRect: to the view yourself, that will never work.
It’s also possible that CGWindowList doesn’t force a window to draw its entire area. Do you get the same results with the SonOfGrab sample project? <https://developer.apple.com/library/mac/samplecode/SonOfGrab/Listings/Controller_m.html#//apple_ref/doc/uid/DTS10004490-Controller_m-DontLinkElementID_4>
--Kyle Sluder
_______________________________________________
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