/* 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
+Standard_Boolean 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 Aspect_PrintAlgo printAlgorithm,
+ const Standard_Real theScaleFactor) const
{
#ifdef WNT
PrintFunction ("call_togl_print");
PrintCView (MyCView, 1);
}
- call_togl_print (&MyCView, &MyCUnderLayer, &MyCOverLayer,
- hPrintDC, (int)showBackground, filename);
+ return call_togl_print (&MyCView, &MyCUnderLayer, &MyCOverLayer,
+ hPrintDC, (int)showBackground, filename,
+ (int)printAlgorithm, (float)theScaleFactor);
#else
Standard_NotImplemented::Raise ("OpenGl_GraphicDriver::Print is implemented "
"only on Windows");
-
+ return Standard_False;
#endif
}