00001 /*************************************************************************** 00002 qgsrasterviewport.h - description 00003 ------------------- 00004 begin : Fri Jun 28 2002 00005 copyright : (C) 2005 by T.Sutton 00006 email : [email protected] 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 /* $Id: qgsrasterlayer.h 4380 2005-12-26 23:37:50Z timlinux $ */ 00018 #ifndef QGSRASTERVIEWPORT_H 00019 #define QGSRASTERVIEWPORT_H 00020 00021 #include <qgspoint.h> 00022 00031 struct QgsRasterViewPort 00032 { 00035 int rectXOffset; 00036 float rectXOffsetFloat; 00039 int rectYOffset; 00040 float rectYOffsetFloat; 00045 double clippedXMin; 00050 double clippedXMax; 00055 double clippedYMin; 00060 double clippedYMax; 00062 int clippedWidth; 00064 int clippedHeight; 00067 QgsPoint topLeftPoint; 00070 QgsPoint bottomRightPoint; 00073 int drawableAreaXDim; 00076 int drawableAreaYDim; 00077 }; 00078 00079 #endif //QGSRASTERVIEWPORT_H