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 coordinate system  | 
|
Intersection of current map extent and layer extent  | 
|
Height, number of rows to be rendered  | 
|
Source 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¶
 Coordinate (in output device coordinate system) of bottom right corner of the part of the raster that is to be rendered.
- mDestCRS¶
 Target coordinate system
- mDrawnExtent¶
 Intersection of current map extent and layer extent
- mHeight¶
 Height, number of rows to be rendered
- mSrcCRS¶
 Source coordinate system
- mTopLeftPoint¶
 Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered.
- mTransformContext¶
 Coordinate transform context
- mWidth¶
 Width, number of columns to be rendered