QGIS API Documentation  3.6.0-Noosa (5873452)
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

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

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.

Definition at line 33 of file qgsrasterviewport.h.

Member Data Documentation

◆ mBottomRightPoint

QgsPointXY QgsRasterViewPort::mBottomRightPoint

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

Definition at line 49 of file qgsrasterviewport.h.

◆ mDestCRS

QgsCoordinateReferenceSystem QgsRasterViewPort::mDestCRS

Target coordinate system.

Definition at line 67 of file qgsrasterviewport.h.

◆ mDestDatumTransform

int QgsRasterViewPort::mDestDatumTransform

Definition at line 70 of file qgsrasterviewport.h.

◆ mDrawnExtent

QgsRectangle QgsRasterViewPort::mDrawnExtent

Intersection of current map extent and layer extent.

Definition at line 61 of file qgsrasterviewport.h.

◆ mHeight

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

Definition at line 58 of file qgsrasterviewport.h.

◆ mSrcCRS

QgsCoordinateReferenceSystem QgsRasterViewPort::mSrcCRS

Source coordinate system.

Definition at line 64 of file qgsrasterviewport.h.

◆ mSrcDatumTransform

int QgsRasterViewPort::mSrcDatumTransform

Definition at line 69 of file qgsrasterviewport.h.

◆ mTopLeftPoint

QgsPointXY QgsRasterViewPort::mTopLeftPoint

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

Definition at line 44 of file qgsrasterviewport.h.

◆ mWidth

int QgsRasterViewPort::mWidth

Width, number of columns to be rendered.

Definition at line 52 of file qgsrasterviewport.h.


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