QGIS API Documentation  2.5.0-Master
 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. More...
 
double maxScale
 The maximum scale, or 0.0 if unset. More...
 

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
bool QgsMapUnitScale::operator!= ( const QgsMapUnitScale other) const
inline

Definition at line 55 of file qgsmapunitscale.h.

References maxScale, and minScale.

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

Definition at line 50 of file qgsmapunitscale.h.

References maxScale, and minScale.

Member Data Documentation

double QgsMapUnitScale::maxScale
double QgsMapUnitScale::minScale

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