X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctgraphics%2Fsgp.cpp;h=e96f29d8414c5ffc2d9324fb8a0404582d86c127;hb=bfcc769cf8019eabc8c65c07257c8dbee4b4c977;hp=c1004d699bc2a720b9c2e4e1ab80c16d8a53a0ca;hpb=a05f3cb550877e94aa118cc04b361c0c8fdb3dc3;p=ctsim.git diff --git a/libctgraphics/sgp.cpp b/libctgraphics/sgp.cpp index c1004d6..e96f29d 100644 --- 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 ** -** $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