Merge pull request #194 from dakcarto/binding_labelsWithinRect

sip binding for QgsLabelingEngineInterface::labelsWithinRect()
This commit is contained in:
Nathan Woodrow 2012-07-18 21:06:51 -07:00
commit 408d2669a1
2 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,9 @@ public:
//! return infos about labels at a given (map) position
//! @note: this method was added in version 1.7
virtual QList<QgsLabelPosition> labelsAtPosition( const QgsPoint& p )= 0;
//! return infos about labels within a given (map) rectangle
//! @note: this method was added in version 1.9
virtual QList<QgsLabelPosition> labelsWithinRect( const QgsRectangle& r ) = 0;
//! called when passing engine among map renderers

View File

@ -89,6 +89,9 @@ class QgsLabelingEngineInterface
//! return infos about labels at a given (map) position
//! @note: this method was added in version 1.7
virtual QList<QgsLabelPosition> labelsAtPosition( const QgsPoint& p ) = 0;
//! return infos about labels within a given (map) rectangle
//! @note: this method was added in version 1.9
virtual QList<QgsLabelPosition> labelsWithinRect( const QgsRectangle& r ) = 0;
//! called when passing engine among map renderers
virtual QgsLabelingEngineInterface* clone() = 0;