File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
python/core/auto_generated Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -590,22 +590,22 @@ The geometry is specified using the map's destinationCrs().
590
590
%Docstring
591
591
Sets a list of ``regions`` to avoid placing labels within.
592
592
593
- .. versionadded:: 3.6
594
-
595
593
.. seealso:: :py:func:`labelBlockingRegions`
596
594
597
595
.. seealso:: :py:func:`setLabelBoundaryGeometry`
596
+
597
+ .. versionadded:: 3.6
598
598
%End
599
599
600
600
QList< QgsLabelBlockingRegion > labelBlockingRegions() const;
601
601
%Docstring
602
602
Returns the list of regions to avoid placing labels within.
603
603
604
- .. versionadded:: 3.6
605
-
606
604
.. seealso:: :py:func:`setLabelBlockingRegions`
607
605
608
606
.. seealso:: :py:func:`labelBoundaryGeometry`
607
+
608
+ .. versionadded:: 3.6
609
609
%End
610
610
611
611
protected:
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ void QgsLabelingEngine::run( QgsRenderContext &context )
248
248
// get map label boundary geometry - if one hasn't been explicitly set, we use the whole of the map's visible polygon
249
249
QgsGeometry mapBoundaryGeom = !mMapSettings .labelBoundaryGeometry ().isNull () ? mMapSettings .labelBoundaryGeometry () : QgsGeometry::fromQPolygonF ( visiblePoly );
250
250
251
- // label blocking regions work by "chopping away" those regions from the permissible labelling area
251
+ // label blocking regions work by "chopping away" those regions from the permissible labeling area
252
252
const QList< QgsLabelBlockingRegion > blockingRegions = mMapSettings .labelBlockingRegions ();
253
253
for ( const QgsLabelBlockingRegion ®ion : blockingRegions )
254
254
{
Original file line number Diff line number Diff line change @@ -518,17 +518,17 @@ class CORE_EXPORT QgsMapSettings
518
518
519
519
/* *
520
520
* Sets a list of \a regions to avoid placing labels within.
521
- * \since QGIS 3.6
522
521
* \see labelBlockingRegions()
523
522
* \see setLabelBoundaryGeometry()
523
+ * \since QGIS 3.6
524
524
*/
525
525
void setLabelBlockingRegions ( const QList< QgsLabelBlockingRegion > ®ions ) { mLabelBlockingRegions = regions; }
526
526
527
527
/* *
528
528
* Returns the list of regions to avoid placing labels within.
529
- * \since QGIS 3.6
530
529
* \see setLabelBlockingRegions()
531
530
* \see labelBoundaryGeometry()
531
+ * \since QGIS 3.6
532
532
*/
533
533
QList< QgsLabelBlockingRegion > labelBlockingRegions () const { return mLabelBlockingRegions ; }
534
534
You can’t perform that action at this time.
0 commit comments