1 // File OpenGl_GraphicDriver_print.c
4 // e-mail t-hartl@muenchen.matra-dtv.fr
6 /************************************************************************/
8 /************************************************************************/
10 #include <OpenGl_GraphicDriver.jxx>
11 #include <Aspect_DriverDefinitionError.hxx>
12 #include <Standard_NotImplemented.hxx>
14 #include "OpenGl_tgl_funcs.hxx"
17 /************************************************************************/
19 /************************************************************************/
21 void OpenGl_GraphicDriver::Print (const Graphic3d_CView& ACView,
22 const Aspect_CLayer2d& ACUnderLayer,
23 const Aspect_CLayer2d& ACOverLayer,
24 const Aspect_Handle hPrintDC,
25 const Standard_Boolean showBackground,
26 const Standard_CString filename ) const
30 Graphic3d_CView MyCView = ACView;
31 Aspect_CLayer2d MyCUnderLayer = ACUnderLayer;
32 Aspect_CLayer2d MyCOverLayer = ACOverLayer;
35 PrintFunction ("call_togl_print");
36 PrintCView (MyCView, 1);
38 call_togl_print (&MyCView, &MyCUnderLayer, &MyCOverLayer,
39 hPrintDC, (int)showBackground, filename);
41 Standard_NotImplemented::Raise ("OpenGl_GraphicDriver::Print is implemented "