QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
Public Attributes | List of all members
QgsRasterViewPort Struct Reference

#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...
 
QgsRectangle mDrawnExtent
 Intersection of current map extent and layer extent. More...
 
qgssize mHeight
 Height, number of rows to be rendered. More...
 
QgsCoordinateReferenceSystem mSrcCRS
 Source coordinate system. More...
 
QgsPointXY mTopLeftPoint
 Coordinate (in output device coordinate system) of top left corner of the part of the raster that is to be rendered. More...
 
QgsCoordinateTransformContext mTransformContext
 Coordinate transform context. More...
 
qgssize 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 34 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 65 of file qgsrasterviewport.h.

◆ mDestCRS

QgsCoordinateReferenceSystem QgsRasterViewPort::mDestCRS

Target coordinate system.

Definition at line 80 of file qgsrasterviewport.h.

◆ mDrawnExtent

QgsRectangle QgsRasterViewPort::mDrawnExtent

Intersection of current map extent and layer extent.

Definition at line 74 of file qgsrasterviewport.h.

◆ mHeight

qgssize QgsRasterViewPort::mHeight

Height, number of rows to be rendered.

Definition at line 71 of file qgsrasterviewport.h.

◆ mSrcCRS

QgsCoordinateReferenceSystem QgsRasterViewPort::mSrcCRS

Source coordinate system.

Definition at line 77 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 59 of file qgsrasterviewport.h.

◆ mTransformContext

QgsCoordinateTransformContext QgsRasterViewPort::mTransformContext

Coordinate transform context.

Definition at line 85 of file qgsrasterviewport.h.

◆ mWidth

qgssize QgsRasterViewPort::mWidth

Width, number of columns to be rendered.

Definition at line 68 of file qgsrasterviewport.h.


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