Quantum GIS API Documentation  1.7.4
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                : tim@linfiniti.com
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 #include "qgscoordinatetransform.h"
00023 
00032 struct QgsRasterViewPort
00033 {
00034   // NOT IN MAP SPACE BUT DEVICE SPACE
00037   QgsPoint topLeftPoint;
00040   QgsPoint bottomRightPoint;
00044   int drawableAreaXDim;
00047   int drawableAreaYDim;
00048 
00049   // intersection of current map extent and layer extent
00050   QgsRectangle mDrawnExtent;
00051 
00052   // Source coordinate system
00053   QgsCoordinateReferenceSystem mSrcCRS;
00054 
00055   // Target coordinate system
00056   QgsCoordinateReferenceSystem mDestCRS;
00057 };
00058 
00059 #endif //QGSRASTERVIEWPORT_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines