QGIS API Documentation  2.6.0-Brighton
 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 minScale
 The minimum scale, or 0.0 if unset.
double maxScale
 The maximum scale, or 0.0 if unset.

Constructor & Destructor Documentation

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

Member Function Documentation

double QgsMapUnitScale::computeMapUnitsPerPixel ( const QgsRenderContext c) const
inline
bool QgsMapUnitScale::operator!= ( const QgsMapUnitScale other) const
inline
bool QgsMapUnitScale::operator== ( const QgsMapUnitScale other) const
inline

Member Data Documentation

double QgsMapUnitScale::maxScale

The maximum scale, or 0.0 if unset.

double QgsMapUnitScale::minScale

The minimum scale, or 0.0 if unset.


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