Skip to content
Permalink
Browse files

Merge pull request #194 from dakcarto/binding_labelsWithinRect

sip binding for QgsLabelingEngineInterface::labelsWithinRect()
  • Loading branch information
NathanW2 committed Jul 19, 2012
2 parents 8e66f2c + 0c62390 commit 408d2669a1492171906e54d37788a33755f2d246
Showing with 6 additions and 0 deletions.
  1. +3 −0 python/core/qgsmaprenderer.sip
  2. +3 −0 src/core/qgsmaprenderer.h
@@ -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
@@ -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;

0 comments on commit 408d266

Please sign in to comment.
You can’t perform that action at this time.