Re: Screenshot code for Tiger
Re: Screenshot code for Tiger
- Subject: Re: Screenshot code for Tiger
- From: "Dmitry Savenok" <email@hidden>
- Date: Mon, 24 Apr 2006 14:11:10 +0300
- Organization: Eltima
In my app I use code similar to
NSView *view = [window contentView];
[view lockFocus];
NSBitmapImageRep *bitmap = [[NSBitmapImageRep alloc]
initWithFocusedViewRect:[view bounds]];
[view unlockFocus];
and it works fine on all tested systems (10.2.3, 10.2.8, 10.3.5, 10.3.9,
10.4, 10.4.4(Intel), 10.4.5, 10.4.6).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden