mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix: make "Part" struct dependent definitions private
This commit is contained in:
parent
899d3febad
commit
563ab0330f
@ -2239,13 +2239,6 @@ Sets whether point markers should be ``clipped`` to the current part boundary on
|
||||
|
||||
|
||||
protected:
|
||||
struct Part
|
||||
{
|
||||
QPolygonF exterior;
|
||||
QList<QPolygonF> rings;
|
||||
};
|
||||
|
||||
void render( QgsRenderContext &context, const QVector<Part> &parts, const QgsFeature &feature, bool selected );
|
||||
|
||||
|
||||
|
||||
|
@ -2016,13 +2016,6 @@ class CORE_EXPORT QgsCentroidFillSymbolLayer : public QgsFillSymbolLayer
|
||||
void stopFeatureRender( const QgsFeature &feature, QgsRenderContext &context ) override;
|
||||
|
||||
protected:
|
||||
struct Part
|
||||
{
|
||||
QPolygonF exterior;
|
||||
QList<QPolygonF> rings;
|
||||
};
|
||||
|
||||
void render( QgsRenderContext &context, const QVector<Part> &parts, const QgsFeature &feature, bool selected );
|
||||
|
||||
std::unique_ptr< QgsMarkerSymbol > mMarker;
|
||||
bool mPointOnSurface = false;
|
||||
@ -2030,7 +2023,6 @@ class CORE_EXPORT QgsCentroidFillSymbolLayer : public QgsFillSymbolLayer
|
||||
bool mClipPoints = false;
|
||||
bool mClipOnCurrentPartOnly = false;
|
||||
|
||||
QVector<Part> mCurrentParts;
|
||||
bool mRenderingFeature = false;
|
||||
|
||||
QgsFeatureId mCurrentFeatureId = -1;
|
||||
@ -2040,7 +2032,14 @@ class CORE_EXPORT QgsCentroidFillSymbolLayer : public QgsFillSymbolLayer
|
||||
#ifdef SIP_RUN
|
||||
QgsCentroidFillSymbolLayer( const QgsCentroidFillSymbolLayer &other );
|
||||
#endif
|
||||
struct Part
|
||||
{
|
||||
QPolygonF exterior;
|
||||
QList<QPolygonF> rings;
|
||||
};
|
||||
|
||||
void render( QgsRenderContext &context, const QVector<Part> &parts, const QgsFeature &feature, bool selected );
|
||||
QVector<Part> mCurrentParts;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user