2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
struct QgsRasterViewPort
|
|
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include <qgsrasterviewport.h>
|
|
|
|
%End
|
2013-09-17 12:33:57 +02:00
|
|
|
/** \brief Coordinate (in output device coordinate system) of top left corner
|
2013-04-29 13:27:36 +02:00
|
|
|
* of the part of the raster that is to be rendered.*/
|
|
|
|
QgsPoint mTopLeftPoint;
|
2013-09-17 12:33:57 +02:00
|
|
|
/** \brief Coordinate (in output device coordinate system) of bottom right corner
|
2013-04-29 13:27:36 +02:00
|
|
|
* of the part of the raster that is to be rendered.*/
|
|
|
|
QgsPoint mBottomRightPoint;
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2013-04-29 13:27:36 +02:00
|
|
|
/** \brief Width, number of columns to be rendered */
|
|
|
|
int mWidth;
|
2013-09-17 12:33:57 +02:00
|
|
|
/** \brief Distance in map units from bottom edge to top edge for the part of
|
2013-04-29 13:27:36 +02:00
|
|
|
* the raster that is to be rendered.*/
|
|
|
|
/** \brief Height, number of rows to be rendered */
|
|
|
|
int mHeight;
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2013-04-29 13:27:36 +02:00
|
|
|
/** \brief Intersection of current map extent and layer extent */
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsRectangle mDrawnExtent;
|
|
|
|
|
2013-04-29 13:27:36 +02:00
|
|
|
/** \brief Source coordinate system */
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsCoordinateReferenceSystem mSrcCRS;
|
|
|
|
|
2013-04-29 13:27:36 +02:00
|
|
|
/** \brief Target coordinate system */
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsCoordinateReferenceSystem mDestCRS;
|
2013-04-29 13:27:36 +02:00
|
|
|
|
2014-01-26 18:35:21 +01:00
|
|
|
int mSrcDatumTransform;
|
|
|
|
int mDestDatumTransform;
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|