QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
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. | |
QgsCoordinateReferenceSystem | mDestCRS |
Target (map) coordinate system. | |
QgsRectangle | mDrawnExtent |
Intersection of current map extent and layer extent, in map (destination) CRS. | |
qgssize | mHeight |
Height, number of rows to be rendered. | |
QgsCoordinateReferenceSystem | mSrcCRS |
Source (layer) coordinate system. | |
QgsPointXY | mTopLeftPoint |
Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered. | |
QgsCoordinateTransformContext | mTransformContext |
Coordinate transform context. | |
qgssize | mWidth |
Width, number of columns to be rendered. | |
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 34 of file qgsrasterviewport.h.
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 52 of file qgsrasterviewport.h.
QgsCoordinateReferenceSystem QgsRasterViewPort::mDestCRS |
Target (map) coordinate system.
Definition at line 67 of file qgsrasterviewport.h.
QgsRectangle QgsRasterViewPort::mDrawnExtent |
Intersection of current map extent and layer extent, in map (destination) CRS.
Definition at line 61 of file qgsrasterviewport.h.
qgssize QgsRasterViewPort::mHeight |
Height, number of rows to be rendered.
Definition at line 58 of file qgsrasterviewport.h.
QgsCoordinateReferenceSystem QgsRasterViewPort::mSrcCRS |
Source (layer) coordinate system.
Definition at line 64 of file qgsrasterviewport.h.
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 46 of file qgsrasterviewport.h.
QgsCoordinateTransformContext QgsRasterViewPort::mTransformContext |
Coordinate transform context.
Definition at line 72 of file qgsrasterviewport.h.
qgssize QgsRasterViewPort::mWidth |
Width, number of columns to be rendered.
Definition at line 55 of file qgsrasterviewport.h.