Re: CGDirectDisplay API
Re: CGDirectDisplay API
- Subject: Re: CGDirectDisplay API
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 22 Jul 2001 13:12:37 +0100
On Saturday, July 14, 2001, at 03:37 am, Hisaoki Nishida wrote:
In CoreGraphics, after I enter full screen mode using
CGDisplayCapture(), how would I set up a context to draw in, using its
APIs?
Apple's technote #2007
<http://developer.apple.com/technotes/tn/tn2007.html> suggests calling
CGDisplayBaseAddress() to get the base address of the display, but what
am I suppose to do with this address?
You could just set up an NSWindow and draw into that.
See here for an example:
http://www.cocoadevcentral.com/tutorials/showpage.php?show=00000020.php
-- Finlay