Hello bodies, is there any way to print ap OpenGL context to the printer hardware with wxWindows classes. Thanks
Oli...
2. Re: Print openGL
#5207
Posted by: 2004-10-08 04:17:06
1. create a bitmap located in the memory 2. read pixels form the color buffer using glReadPixels() to the address your bitmap's pixels are (using the pointer to the first pixel) 3. BitBlt() or StretchBlt() it in the printer's device context