QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Attributes | List of all members
QgsRasterViewPort Struct Reference

This class provides details of the viewable area that a raster will be rendered into. More...

#include <qgsrasterviewport.h>

Public Attributes

QgsPoint mTopLeftPoint
 Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered.
QgsPoint mBottomRightPoint
 Coordinate (in output device coordinate system) of bottom right corner of the part of the raster that is to be rendered.
int mWidth
 Width, number of columns to be rendered.
int mHeight
 Distance in map units from bottom edge to top edge for the part of the raster that is to be rendered.
QgsRectangle mDrawnExtent
 Intersection of current map extent and layer extent.
QgsCoordinateReferenceSystem mSrcCRS
 Source coordinate system.
QgsCoordinateReferenceSystem mDestCRS
 Target coordinate system.
int mSrcDatumTransform
int mDestDatumTransform

Detailed Description

This class provides details of the viewable area that a raster will be rendered into.

The qgsrasterviewport class sets up a viewport / area of interest to be used by rasterlayer draw functions at the point of drawing to the screen.

Member Data Documentation

QgsPoint QgsRasterViewPort::mBottomRightPoint

Coordinate (in output device coordinate system) of bottom right corner of the part of the raster that is to be rendered.

QgsCoordinateReferenceSystem QgsRasterViewPort::mDestCRS

Target coordinate system.

int QgsRasterViewPort::mDestDatumTransform
QgsRectangle QgsRasterViewPort::mDrawnExtent

Intersection of current map extent and layer extent.

int QgsRasterViewPort::mHeight

Distance in map units from bottom edge to top edge for the part of the raster that is to be rendered.

Height, number of rows to be rendered

QgsCoordinateReferenceSystem QgsRasterViewPort::mSrcCRS

Source coordinate system.

int QgsRasterViewPort::mSrcDatumTransform
QgsPoint QgsRasterViewPort::mTopLeftPoint

Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered.

int QgsRasterViewPort::mWidth

Width, number of columns to be rendered.


The documentation for this struct was generated from the following file: