Capturing covered window area

Guillaume Brocker wrote:

Instead of doing the openGL rendering to the front buffer, you could use a
texture as the rendering target. You can then retrieve this texture as a
bitmap and perform the blit into the printer device context.

Guillaume Brocker

You can also simply capture the current buffer to an image. See the OpenGLContext demos for examples of this. Once you have the image, just use regular wxDC methods to paint it.

HTH,
Mike

···

_______________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://members.rogers.com/mcfletch/

Yes... I also explained this in a second message... :o)

-----Message d'origine-----

···

De : Mike C. Fletcher [mailto:mcfletch@rogers.com]
Envoyé : jeudi 7 août 2003 13:33
À : wxPython-users@lists.wxwindows.org
Objet : Re: [wxPython-users] Capturing covered window area

Guillaume Brocker wrote:

Instead of doing the openGL rendering to the front buffer, you could use a
texture as the rendering target. You can then retrieve this texture as a
bitmap and perform the blit into the printer device context.

Guillaume Brocker

You can also simply capture the current buffer to an image. See the
OpenGLContext demos for examples of this. Once you have the image, just
use regular wxDC methods to paint it.

HTH,
Mike