@@ -45,6 +45,7 @@ namespace pal
4545 * Individual label providers may create subclasses of QgsLabelFeature in order to add
4646 * more data to the instances that will be later used for drawing of labels.
4747 *
48+ * @note this class is not a part of public API yet. See notes in QgsLabelingEngineV2
4849 * @note added in QGIS 2.12
4950 */
5051class CORE_EXPORT QgsLabelFeature
@@ -241,6 +242,7 @@ class QgsLabelingEngineV2;
241242 *
242243 * Implementations also take care of drawing the returned final label positions.
243244 *
245+ * @note this class is not a part of public API yet. See notes in QgsLabelingEngineV2
244246 * @note added in QGIS 2.12
245247 */
246248class CORE_EXPORT QgsAbstractLabelProvider
@@ -342,6 +344,13 @@ Q_DECLARE_OPERATORS_FOR_FLAGS( QgsAbstractLabelProvider::Flags )
342344 * engine.run( context );
343345 * \endcode
344346 *
347+ * @note this class is not a part of public API yet. The provider's interface still
348+ * uses pal::LabelPosition as an argument in drawLabels() method - this should be
349+ * sorted out first (a class common to API and pal?). Also, the API may need more
350+ * polishing to be easy to use - e.g. use concept of labeling layers in API
351+ * (equivalent of pal::Layer) instead of subProviders(), label providers integrated
352+ * into feature loop vs providers with independent feature loop), split labeling
353+ * computation from drawing of labels, improved results class with label iterator).
345354 * @note added in QGIS 2.12
346355 */
347356class CORE_EXPORT QgsLabelingEngineV2
0 commit comments