Quantum GIS API Documentation  1.7.4
Public Attributes
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]

List of all members.

Public Attributes

QgsPoint topLeftPoint
 Coordinate (in geographic coordinate system) of top left corner of the part of the raster that is to be rendered.
QgsPoint bottomRightPoint
 Coordinate (in geographic coordinate system) of bottom right corner of the part of the raster that is to be rendered.
int drawableAreaXDim
 Distance in map units from left edge to right edge for the part of the raster that is to be rendered.
int drawableAreaYDim
 Distance in map units from bottom edge to top edge for the part of the raster that is to be rendered.
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

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().

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines