Board index » delphi » OpenGL - Rendering to Printer
Mike Becker
![]() Delphi Developer |
Sat, 21 Jul 2001 03:00:00 GMT
OpenGL - Rendering to Printer
Unable to obtain a rendering context associated with the printer.
I have no problem in getting the RC from the window, and then copying the A possible solution: 1. create a DIB, using CreateDIBSection() the size of the printer page I found this "solution" at http://codeguru.com/mfc/comments/2179.shtml And I have tried in vain to make delphicode of the above and of the My code starts like this var aBmpDC:=aBmp.canvas.Handle; Already at this point the "wglCreateContext" returns 0 I would appreciate any help. Mike Becker |