Class: QgsRasterViewPort¶
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
Attributes
Coordinate (in output device coordinate system) of bottom right corner of the part of the raster that is to be rendered. |
|
Target (map) coordinate system |
|
Intersection of current map extent and layer extent, in map (destination) CRS |
|
Height, number of rows to be rendered |
|
Source (layer) coordinate system |
|
Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered. |
|
Coordinate transform context |
|
Width, number of columns to be rendered |
- class qgis.core.QgsRasterViewPort¶
Bases:
object
- mBottomRightPoint: QgsPointXY¶
Coordinate (in output device coordinate system) of bottom right corner of the part of the raster that is to be rendered.
- mDestCRS: QgsCoordinateReferenceSystem¶
Target (map) coordinate system
- mDrawnExtent: QgsRectangle¶
Intersection of current map extent and layer extent, in map (destination) CRS
- mHeight: int¶
Height, number of rows to be rendered
- mSrcCRS: QgsCoordinateReferenceSystem¶
Source (layer) coordinate system
- mTopLeftPoint: QgsPointXY¶
Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered.
- mTransformContext: QgsCoordinateTransformContext¶
Coordinate transform context
- mWidth: int¶
Width, number of columns to be rendered