• 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
Re: CGDirectDisplay API
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >CGDirectDisplay API (From: Hisaoki Nishida <email@hidden>)

  • Prev by Date: Re: AuthorizationCreate
  • Next by Date: Re: Help with help
  • Previous by thread: CGDirectDisplay API
  • Next by thread: NSRect ObjC class defintinition?
  • Index(es):
    • Date
    • Thread