// File OpenGl_GraphicDriver_print.c // Created March 2000 // Author THA // e-mail t-hartl@muenchen.matra-dtv.fr /************************************************************************/ /* Includes */ /************************************************************************/ #include #include #include #include "OpenGl_tgl_funcs.hxx" /************************************************************************/ /* Print Methods */ /************************************************************************/ void OpenGl_GraphicDriver::Print (const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACUnderLayer, const Aspect_CLayer2d& ACOverLayer, const Aspect_Handle hPrintDC, const Standard_Boolean showBackground, const Standard_CString filename ) const { #ifdef WNT Graphic3d_CView MyCView = ACView; Aspect_CLayer2d MyCUnderLayer = ACUnderLayer; Aspect_CLayer2d MyCOverLayer = ACOverLayer; if (MyTraceLevel) { PrintFunction ("call_togl_print"); PrintCView (MyCView, 1); } call_togl_print (&MyCView, &MyCUnderLayer, &MyCOverLayer, hPrintDC, (int)showBackground, filename); #else Standard_NotImplemented::Raise ("OpenGl_GraphicDriver::Print is implemented " "only on Windows"); #endif }