ScreenDC wxMac

Cody Precord wrote:

It seems that the ScreenDC in wxMac uses a transparent overlay of the screen for drawing on.

Is anyone aware of a workaround or way to get access to the buffer that the actual (desktop)screen is drawn in so that I can blit from there into a MemoryDC and get bitmap information from the desktop?

The new CoreGraphics APIs used for the current DC implementations do not allow read access to the pixel buffers, only write.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Thanks,

I also see related bug has been reported about this at
http://sourceforge.net/tracker/index.php?func=detail&aid=1691813&group_id=9863&atid=109863

···

On Jul 17, 2007, at 3:16 PM, Robin Dunn wrote:

Cody Precord wrote:

It seems that the ScreenDC in wxMac uses a transparent overlay of the screen for drawing on.
Is anyone aware of a workaround or way to get access to the buffer that the actual (desktop)screen is drawn in so that I can blit from there into a MemoryDC and get bitmap information from the desktop?

The new CoreGraphics APIs used for the current DC implementations do not allow read access to the pixel buffers, only write.

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org