@@ -415,7 +415,7 @@ Z-Index of label, where labels with a higher z-index are rendered on top of labe
415415
416416 void calculateLabelSize ( const QFontMetricsF *fm, QString text, double &labelX, double &labelY, QgsFeature *f = 0 , QgsRenderContext *context = 0 );
417417
418- void registerFeature ( QgsFeature &f, QgsRenderContext &context );
418+ void registerFeature ( QgsFeature &f, QgsRenderContext &context );
419419
420420%Docstring
421421 Register a feature for labeling.
@@ -553,7 +553,7 @@ class QgsPalLabeling
553553%End
554554
555555
556- static QgsGeometry prepareGeometry ( const QgsGeometry &geometry, QgsRenderContext &context, const QgsCoordinateTransform &ct, QgsGeometry * clipGeometry = 0 ) /Factory/;
556+ static QgsGeometry prepareGeometry ( const QgsGeometry &geometry, QgsRenderContext &context, const QgsCoordinateTransform &ct, const QgsGeometry & clipGeometry = QgsGeometry() ) /Factory/;
557557%Docstring
558558 Prepares a geometry for registration with PAL . Handles reprojection, rotation, clipping, etc.
559559 \param geometry geometry to prepare
@@ -565,7 +565,7 @@ class QgsPalLabeling
565565 :rtype: QgsGeometry
566566%End
567567
568- static bool geometryRequiresPreparation ( const QgsGeometry &geometry, QgsRenderContext &context, const QgsCoordinateTransform &ct, QgsGeometry * clipGeometry = 0 );
568+ static bool geometryRequiresPreparation ( const QgsGeometry &geometry, QgsRenderContext &context, const QgsCoordinateTransform &ct, const QgsGeometry & clipGeometry = QgsGeometry() );
569569%Docstring
570570 Checks whether a geometry requires preparation before registration with PAL
571571 \param geometry geometry to prepare
@@ -599,49 +599,6 @@ class QgsPalLabeling
599599 :rtype: list of str
600600%End
601601
602- protected:
603- static void dataDefinedTextStyle( QgsPalLayerSettings &tmpLyr,
604- const QMap< QgsPalLayerSettings::Property, QVariant > &ddValues );
605- %Docstring
606- Update temporary QgsPalLayerSettings with any data defined text style values
607- %End
608-
609- static void dataDefinedTextFormatting ( QgsPalLayerSettings &tmpLyr,
610- const QMap< QgsPalLayerSettings::Property, QVariant > &ddValues );
611- %Docstring
612- Update temporary QgsPalLayerSettings with any data defined text formatting values
613- %End
614-
615- static void dataDefinedTextBuffer ( QgsPalLayerSettings &tmpLyr,
616- const QMap< QgsPalLayerSettings::Property, QVariant > &ddValues );
617- %Docstring
618- Update temporary QgsPalLayerSettings with any data defined text buffer values
619- %End
620-
621- static void dataDefinedShapeBackground ( QgsPalLayerSettings &tmpLyr,
622- const QMap< QgsPalLayerSettings::Property, QVariant > &ddValues );
623- %Docstring
624- Update temporary QgsPalLayerSettings with any data defined shape background values
625- %End
626-
627- static void dataDefinedDropShadow ( QgsPalLayerSettings &tmpLyr,
628- const QMap< QgsPalLayerSettings::Property, QVariant > &ddValues );
629- %Docstring
630- Update temporary QgsPalLayerSettings with any data defined drop shadow values
631- %End
632-
633-
634- static bool checkMinimumSizeMM ( const QgsRenderContext &context, const QgsGeometry *geom, double minSize );
635- %Docstring
636- Checks whether a geometry exceeds the minimum required size for a geometry to be labeled.
637- \param context render context
638- \param geom geometry
639- \param minSize minimum size for geometry
640- :return : true if geometry exceeds minimum size
641- .. versionadded:: 2.9
642- :rtype: bool
643- %End
644-
645602};
646603
647604/* ***********************************************************************
0 commit comments