[QGIS Commit] r15483 - in trunk/qgis: python/core src/core
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Mon Mar 14 17:36:03 EDT 2011
Author: jef
Date: 2011-03-14 14:36:02 -0700 (Mon, 14 Mar 2011)
New Revision: 15483
Modified:
trunk/qgis/python/core/qgsrect.sip
trunk/qgis/src/core/qgsrectangle.h
Log:
fix #3611
Modified: trunk/qgis/python/core/qgsrect.sip
===================================================================
--- trunk/qgis/python/core/qgsrect.sip 2011-03-14 21:27:27 UTC (rev 15482)
+++ trunk/qgis/python/core/qgsrect.sip 2011-03-14 21:36:02 UTC (rev 15483)
@@ -39,11 +39,11 @@
void setMinimal();
//! Get the x maximum value (right side of rectangle)
double xMaximum() const;
- //! Get the x maximum value (right side of rectangle)
+ //! Get the x minimum value (left side of rectangle)
double xMinimum() const;
- //! Get the x minimum value (left side of rectangle)
+ //! Get the y maximum value (top side of rectangle)
double yMaximum() const;
- //! Get the y maximum value (top side of rectangle)
+ //! Get the y minimum value (bottom side of rectangle)
double yMinimum() const;
//! Normalize the rectangle so it has non-negative width/height
void normalize();
Modified: trunk/qgis/src/core/qgsrectangle.h
===================================================================
--- trunk/qgis/src/core/qgsrectangle.h 2011-03-14 21:27:27 UTC (rev 15482)
+++ trunk/qgis/src/core/qgsrectangle.h 2011-03-14 21:36:02 UTC (rev 15483)
@@ -62,11 +62,11 @@
void setMinimal();
//! Get the x maximum value (right side of rectangle)
double xMaximum() const;
- //! Get the x maximum value (right side of rectangle)
+ //! Get the x minimum value (left side of rectangle)
double xMinimum() const;
- //! Get the x minimum value (left side of rectangle)
+ //! Get the y maximum value (top side of rectangle)
double yMaximum() const;
- //! Get the y maximum value (top side of rectangle)
+ //! Get the y minimum value (bottom side of rectangle)
double yMinimum() const;
//! Normalize the rectangle so it has non-negative width/height
void normalize();
More information about the QGIS-commit
mailing list