Salome HOME
dump view to PS format (draft)
[modules/gui.git] / src / GraphicsView / GraphicsView_ViewFrame.cxx
index 9bc663af98ed44ad15ff86487a24da8123d89ad6..c5f1dfaad6c4fd7266c6e58b818a1a270bd78eb0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2013-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -211,6 +211,15 @@ QImage GraphicsView_ViewFrame::dumpView()
   return myViewPort->dumpView();
 }
 
+//================================================================
+// Function : dumpViewToPSFormat
+// Purpose  : 
+//================================================================
+bool GraphicsView_ViewFrame::dumpViewToPSFormat(const QString& fileName)
+{
+  return myViewPort->dumpViewToPSFormat(fileName);
+}
+
 //================================================================
 // Function : getVisualParameters
 // Purpose  :