2
struct QgsRasterViewPort
5
#include <qgsrasterviewport.h>
8
/** \brief The offset from the left hand edge of the raster for the rectangle that will be drawn to screen.
9
* TODO Check this explanation is correc!*/
11
float rectXOffsetFloat;
12
/** \brief The offset from the bottom edge of the raster for the rectangle that will be drawn to screen.
13
* TODO Check this explanation is correc!*/
15
float rectYOffsetFloat;
16
/** \brief Lower left X dimension of clipped raster image in raster pixel space.
17
* RasterIO will do the scaling for us, so for example, if the user is zoomed in a long way, there may only
18
* be e.g. 5x5 pixels retrieved from the raw raster data, but rasterio will seamlessly scale the up to
19
* whatever the screen coordinates are (e.g. a 600x800 display window) */
21
/** \brief Top Right X dimension of clipped raster image in raster pixel space.
22
* RasterIO will do the scaling for us, so for example, if the user is zoomed in a long way, there may only
23
* be e.g. 5x5 pixels retrieved from the raw raster data, but rasterio will seamlessly scale the up to
24
* whatever the screen coordinates are (e.g. a 600x800 display window) */
26
/** \brief Lower left Y dimension of clipped raster image in raster pixel space.
27
* RasterIO will do the scaling for us, so for example, if the user is zoomed in a long way, there may only
28
* be e.g. 5x5 pixels retrieved from the raw raster data, but rasterio will seamlessly scale the up to
29
* whatever the screen coordinates are (e.g. a 600x800 display window) */
31
/** \brief Top Right X dimension of clipped raster image in raster pixel space.
32
* RasterIO will do the scaling for us, so for example, if the user is zoomed in a long way, there may only
33
* be e.g. 5x5 pixels retrieved from the raw raster data, but rasterio will seamlessly scale the up to
34
* whatever the screen coordinates are (e.g. a 600x800 display window) */
36
/** \brief Distance in pixels from clippedXMin to clippedXMax. */
38
/** \brief Distance in pixels from clippedYMin to clippedYMax */
40
/** \brief Coordinate (in geographic coordinate system) of top left corner of the part of the raster that
41
* is to be rendered.*/
42
QgsPoint topLeftPoint;
43
/** \brief Coordinate (in geographic coordinate system) of bottom right corner of the part of the raster that
44
* is to be rendered.*/
45
QgsPoint bottomRightPoint;
46
/** \brief Distance in map units from left edge to right edge for the part of the raster that
47
* is to be rendered.*/
49
/** \brief Distance in map units from bottom edge to top edge for the part of the raster that
50
* is to be rendered.*/