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.
3. Drag the window so that it is fully on screen. Observe that the window shows 
all the drawing that was performed.
4. Take a snapshot of the window.
5. Save the snapshot to an image file.
6. Note that the snapshot is missing the part of the drawing that was drawn 
offscreen, but was visible after step 3.

Kevin


On 18 Jun 2014, at 16:30, Kyle Sluder <[email protected]> wrote:

>> On Jun 18, 2014, at 8:24 AM, Kevin Meaney <[email protected]> wrote:
>> 
>> [ snip ]
> 
> Thanks. But I’m still confused about the timing. What method does this code 
> live in, and when is that method executed relative to the window being 
> dragged completely back on to the screen?
> 
> --Kyle Sluder


_______________________________________________

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