projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r187: *** empty log message ***
[ctsim.git]
/
libctgraphics
/
sgp.cpp
diff --git
a/libctgraphics/sgp.cpp
b/libctgraphics/sgp.cpp
index c1004d699bc2a720b9c2e4e1ab80c16d8a53a0ca..e96f29d8414c5ffc2d9324fb8a0404582d86c127 100644
(file)
--- a/
libctgraphics/sgp.cpp
+++ b/
libctgraphics/sgp.cpp
@@
-7,7
+7,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: sgp.cpp,v 1.1
2 2000/08/31 08:38:58
kevin Exp $
+** $Id: sgp.cpp,v 1.1
3 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
**
** 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;
}
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
// NAME
// frameViewport draw box around viewport