Quantum GIS API Documentation  1.8
src/core/raster/qgsrasterviewport.h
Go to the documentation of this file.
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 #ifndef QGSRASTERVIEWPORT_H
00018 #define QGSRASTERVIEWPORT_H
00019 
00020 #include <qgspoint.h>
00021 #include "qgscoordinatetransform.h"
00022 
00031 struct QgsRasterViewPort
00032 {
00033   // NOT IN MAP SPACE BUT DEVICE SPACE
00036   QgsPoint topLeftPoint;
00039   QgsPoint bottomRightPoint;
00043   int drawableAreaXDim;
00046   int drawableAreaYDim;
00047 
00048   // intersection of current map extent and layer extent
00049   QgsRectangle mDrawnExtent;
00050 
00051   // Source coordinate system
00052   QgsCoordinateReferenceSystem mSrcCRS;
00053 
00054   // Target coordinate system
00055   QgsCoordinateReferenceSystem mDestCRS;
00056 };
00057 
00058 #endif //QGSRASTERVIEWPORT_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines