r187: *** empty log message ***
[ctsim.git] / libctgraphics / sgp.cpp
index c1004d699bc2a720b9c2e4e1ab80c16d8a53a0ca..e96f29d8414c5ffc2d9324fb8a0404582d86c127 100644 (file)
@@ -7,7 +7,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: sgp.cpp,v 1.12 2000/08/31 08:38:58 kevin Exp $
+**  $Id: sgp.cpp,v 1.13 2000/09/02 05:10:39 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -206,6 +206,15 @@ SGP::getViewport (double& xmin, double& ymin, double& xmax, double& ymax)
     ymax = yv_max;
 }
 
+void
+SGP::getWindow (double& xmin, double& ymin, double& xmax, double& ymax)
+{
+    xmin = xw_min;
+    ymin = yw_min;
+    xmax = xw_max;
+    ymax = yw_max;
+}
+
 
 // NAME
 //     frameViewport           draw box around viewport