QGIS API Documentation  2.8.2-Wien
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
QgsMapUnitScale Class Reference

#include <qgsmapunitscale.h>

Public Member Functions

 QgsMapUnitScale ()
 QgsMapUnitScale (float _minScale, float _maxScale)
double computeMapUnitsPerPixel (const QgsRenderContext &c) const
bool operator!= (const QgsMapUnitScale &other) const
bool operator== (const QgsMapUnitScale &other) const

Public Attributes

double maxScale
 The maximum scale, or 0.0 if unset.
double minScale
 The minimum scale, or 0.0 if unset.

Detailed Description

Definition at line 24 of file qgsmapunitscale.h.

Constructor & Destructor Documentation

QgsMapUnitScale::QgsMapUnitScale ( )
inline

Definition at line 27 of file qgsmapunitscale.h.

QgsMapUnitScale::QgsMapUnitScale ( float  _minScale,
float  _maxScale 
)
inline

Definition at line 28 of file qgsmapunitscale.h.

Member Function Documentation

double QgsMapUnitScale::computeMapUnitsPerPixel ( const QgsRenderContext c) const
inline

Definition at line 35 of file qgsmapunitscale.h.

bool QgsMapUnitScale::operator!= ( const QgsMapUnitScale other) const
inline

Definition at line 55 of file qgsmapunitscale.h.

bool QgsMapUnitScale::operator== ( const QgsMapUnitScale other) const
inline

Definition at line 50 of file qgsmapunitscale.h.

Member Data Documentation

double QgsMapUnitScale::maxScale

The maximum scale, or 0.0 if unset.

Definition at line 33 of file qgsmapunitscale.h.

double QgsMapUnitScale::minScale

The minimum scale, or 0.0 if unset.

Definition at line 31 of file qgsmapunitscale.h.


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