Quantum GIS API Documentation  1.7.5-Wroclaw
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Attributes | List of all members
QgsRasterViewPort Struct Reference

This class provides details of the viewable area that a raster will be rendered into. More...

#include <qgsrasterviewport.h>

Collaboration diagram for QgsRasterViewPort:
Collaboration graph
[legend]

Public Attributes

QgsPoint topLeftPoint
 Coordinate (in geographic coordinate system) of top left corner of the part of the raster that is to be rendered. More...
 
QgsPoint bottomRightPoint
 Coordinate (in geographic coordinate system) of bottom right corner of the part of the raster that is to be rendered. More...
 
int drawableAreaXDim
 Distance in map units from left edge to right edge for the part of the raster that is to be rendered. More...
 
int drawableAreaYDim
 Distance in map units from bottom edge to top edge for the part of the raster that is to be rendered. More...
 
QgsRectangle mDrawnExtent
 
QgsCoordinateReferenceSystem mSrcCRS
 
QgsCoordinateReferenceSystem mDestCRS
 

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 32 of file qgsrasterviewport.h.

Member Data Documentation

QgsPoint QgsRasterViewPort::bottomRightPoint

Coordinate (in geographic coordinate system) of bottom right corner of the part of the raster that is to be rendered.

Definition at line 40 of file qgsrasterviewport.h.

Referenced by QgsRasterImageBuffer::drawPixelRectangle(), QgsRasterLayer::thumbnailAsImage(), and QgsRasterLayer::thumbnailAsPixmap().

int QgsRasterViewPort::drawableAreaXDim
int QgsRasterViewPort::drawableAreaYDim
QgsCoordinateReferenceSystem QgsRasterViewPort::mDestCRS
QgsRectangle QgsRasterViewPort::mDrawnExtent
QgsCoordinateReferenceSystem QgsRasterViewPort::mSrcCRS
QgsPoint QgsRasterViewPort::topLeftPoint

Coordinate (in geographic coordinate system) of top left corner of the part of the raster that is to be rendered.

Definition at line 37 of file qgsrasterviewport.h.

Referenced by QgsRasterImageBuffer::createNextPartImage(), QgsRasterImageBuffer::drawPixelRectangle(), QgsRasterLayer::thumbnailAsImage(), and QgsRasterLayer::thumbnailAsPixmap().


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