Add forgotten since tags on new point pattern fill functions

This commit is contained in:
nirvn 2019-04-25 09:53:25 +07:00
parent 88797448dd
commit cb9b3b458d
2 changed files with 36 additions and 0 deletions

View File

@ -1632,6 +1632,8 @@ Sets the horizontal offset values for points in the pattern.
.. seealso:: :py:func:`offsetX` .. seealso:: :py:func:`offsetX`
.. seealso:: :py:func:`setOffsetY` .. seealso:: :py:func:`setOffsetY`
.. versionadded:: 3.8
%End %End
double offsetX() const; double offsetX() const;
@ -1641,6 +1643,8 @@ Returns the horizontal offset values for points in the pattern.
.. seealso:: :py:func:`setOffsetX` .. seealso:: :py:func:`setOffsetX`
.. seealso:: :py:func:`offsetY` .. seealso:: :py:func:`offsetY`
.. versionadded:: 3.8
%End %End
void setOffsetY( double offset ); void setOffsetY( double offset );
@ -1652,6 +1656,8 @@ Sets the vertical offset values for points in the pattern.
.. seealso:: :py:func:`offsetY` .. seealso:: :py:func:`offsetY`
.. seealso:: :py:func:`setOffsetX` .. seealso:: :py:func:`setOffsetX`
.. versionadded:: 3.8
%End %End
double offsetY() const; double offsetY() const;
@ -1661,6 +1667,8 @@ Returns the vertical offset values for points in the pattern.
.. seealso:: :py:func:`setOffsetY` .. seealso:: :py:func:`setOffsetY`
.. seealso:: :py:func:`offsetX` .. seealso:: :py:func:`offsetX`
.. versionadded:: 3.8
%End %End
virtual bool setSubSymbol( QgsSymbol *symbol /Transfer/ ); virtual bool setSubSymbol( QgsSymbol *symbol /Transfer/ );
@ -1768,6 +1776,8 @@ Sets the units for the horizontal offset between rows in the pattern.
.. seealso:: :py:func:`offsetXUnit` .. seealso:: :py:func:`offsetXUnit`
.. seealso:: :py:func:`setOffsetYUnit` .. seealso:: :py:func:`setOffsetYUnit`
.. versionadded:: 3.8
%End %End
QgsUnitTypes::RenderUnit offsetXUnit() const; QgsUnitTypes::RenderUnit offsetXUnit() const;
@ -1777,6 +1787,8 @@ Returns the units for the horizontal offset for rows in the pattern.
.. seealso:: :py:func:`setOffsetXUnit` .. seealso:: :py:func:`setOffsetXUnit`
.. seealso:: :py:func:`offsetYUnit` .. seealso:: :py:func:`offsetYUnit`
.. versionadded:: 3.8
%End %End
void setOffsetXMapUnitScale( const QgsMapUnitScale &scale ); void setOffsetXMapUnitScale( const QgsMapUnitScale &scale );
@ -1788,6 +1800,8 @@ Sets the unit scale for the horizontal offset for rows in the pattern.
.. seealso:: :py:func:`offsetXMapUnitScale` .. seealso:: :py:func:`offsetXMapUnitScale`
.. seealso:: :py:func:`setOffsetYMapUnitScale` .. seealso:: :py:func:`setOffsetYMapUnitScale`
.. versionadded:: 3.8
%End %End
const QgsMapUnitScale &offsetXMapUnitScale() const; const QgsMapUnitScale &offsetXMapUnitScale() const;
@ -1797,6 +1811,8 @@ Returns the unit scale for the horizontal offset for rows in the pattern.
.. seealso:: :py:func:`setOffsetXMapUnitScale` .. seealso:: :py:func:`setOffsetXMapUnitScale`
.. seealso:: :py:func:`offsetYMapUnitScale` .. seealso:: :py:func:`offsetYMapUnitScale`
.. versionadded:: 3.8
%End %End
void setOffsetYUnit( QgsUnitTypes::RenderUnit unit ); void setOffsetYUnit( QgsUnitTypes::RenderUnit unit );
@ -1808,6 +1824,8 @@ Sets the units for the vertical offset for rows in the pattern.
.. seealso:: :py:func:`offsetYUnit` .. seealso:: :py:func:`offsetYUnit`
.. seealso:: :py:func:`setOffsetXUnit` .. seealso:: :py:func:`setOffsetXUnit`
.. versionadded:: 3.8
%End %End
QgsUnitTypes::RenderUnit offsetYUnit() const; QgsUnitTypes::RenderUnit offsetYUnit() const;
@ -1817,6 +1835,8 @@ Returns the units for the vertical offset for rows in the pattern.
.. seealso:: :py:func:`setOffsetYUnit` .. seealso:: :py:func:`setOffsetYUnit`
.. seealso:: :py:func:`offsetXUnit` .. seealso:: :py:func:`offsetXUnit`
.. versionadded:: 3.8
%End %End
void setOffsetYMapUnitScale( const QgsMapUnitScale &scale ); void setOffsetYMapUnitScale( const QgsMapUnitScale &scale );
@ -1828,6 +1848,8 @@ Sets the unit scale for the vertical offset for rows in the pattern.
.. seealso:: :py:func:`offsetYMapUnitScale` .. seealso:: :py:func:`offsetYMapUnitScale`
.. seealso:: :py:func:`setOffsetXMapUnitScale` .. seealso:: :py:func:`setOffsetXMapUnitScale`
.. versionadded:: 3.8
%End %End
const QgsMapUnitScale &offsetYMapUnitScale() const; const QgsMapUnitScale &offsetYMapUnitScale() const;
@ -1837,6 +1859,8 @@ Returns the unit scale for the vertical offset between rows in the pattern.
.. seealso:: :py:func:`setOffsetYMapUnitScale` .. seealso:: :py:func:`setOffsetYMapUnitScale`
.. seealso:: :py:func:`offsetXMapUnitScale` .. seealso:: :py:func:`offsetXMapUnitScale`
.. versionadded:: 3.8
%End %End
virtual void setOutputUnit( QgsUnitTypes::RenderUnit unit ); virtual void setOutputUnit( QgsUnitTypes::RenderUnit unit );

View File

@ -1485,6 +1485,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value * \param offset offset value
* \see offsetX() * \see offsetX()
* \see setOffsetY() * \see setOffsetY()
* \since QGIS 3.8
*/ */
void setOffsetX( double offset ) { mOffsetX = offset; } void setOffsetX( double offset ) { mOffsetX = offset; }
@ -1492,6 +1493,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the horizontal offset values for points in the pattern. * Returns the horizontal offset values for points in the pattern.
* \see setOffsetX() * \see setOffsetX()
* \see offsetY() * \see offsetY()
* \since QGIS 3.8
*/ */
double offsetX() const { return mOffsetX; } double offsetX() const { return mOffsetX; }
@ -1500,6 +1502,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value * \param offset offset value
* \see offsetY() * \see offsetY()
* \see setOffsetX() * \see setOffsetX()
* \since QGIS 3.8
*/ */
void setOffsetY( double offset ) { mOffsetY = offset; } void setOffsetY( double offset ) { mOffsetY = offset; }
@ -1507,6 +1510,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the vertical offset values for points in the pattern. * Returns the vertical offset values for points in the pattern.
* \see setOffsetY() * \see setOffsetY()
* \see offsetX() * \see offsetX()
* \since QGIS 3.8
*/ */
double offsetY() const { return mOffsetY; } double offsetY() const { return mOffsetY; }
@ -1590,6 +1594,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param unit offset units * \param unit offset units
* \see offsetXUnit() * \see offsetXUnit()
* \see setOffsetYUnit() * \see setOffsetYUnit()
* \since QGIS 3.8
*/ */
void setOffsetXUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetXUnit = unit; } void setOffsetXUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetXUnit = unit; }
@ -1597,6 +1602,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the units for the horizontal offset for rows in the pattern. * Returns the units for the horizontal offset for rows in the pattern.
* \see setOffsetXUnit() * \see setOffsetXUnit()
* \see offsetYUnit() * \see offsetYUnit()
* \since QGIS 3.8
*/ */
QgsUnitTypes::RenderUnit offsetXUnit() const { return mOffsetXUnit; } QgsUnitTypes::RenderUnit offsetXUnit() const { return mOffsetXUnit; }
@ -1605,6 +1611,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param scale offset unit scale * \param scale offset unit scale
* \see offsetXMapUnitScale() * \see offsetXMapUnitScale()
* \see setOffsetYMapUnitScale() * \see setOffsetYMapUnitScale()
* \since QGIS 3.8
*/ */
void setOffsetXMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetXMapUnitScale = scale; } void setOffsetXMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetXMapUnitScale = scale; }
@ -1612,6 +1619,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the unit scale for the horizontal offset for rows in the pattern. * Returns the unit scale for the horizontal offset for rows in the pattern.
* \see setOffsetXMapUnitScale() * \see setOffsetXMapUnitScale()
* \see offsetYMapUnitScale() * \see offsetYMapUnitScale()
* \since QGIS 3.8
*/ */
const QgsMapUnitScale &offsetXMapUnitScale() const { return mOffsetXMapUnitScale; } const QgsMapUnitScale &offsetXMapUnitScale() const { return mOffsetXMapUnitScale; }
@ -1620,6 +1628,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param unit offset units * \param unit offset units
* \see offsetYUnit() * \see offsetYUnit()
* \see setOffsetXUnit() * \see setOffsetXUnit()
* \since QGIS 3.8
*/ */
void setOffsetYUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetYUnit = unit; } void setOffsetYUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetYUnit = unit; }
@ -1627,6 +1636,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the units for the vertical offset for rows in the pattern. * Returns the units for the vertical offset for rows in the pattern.
* \see setOffsetYUnit() * \see setOffsetYUnit()
* \see offsetXUnit() * \see offsetXUnit()
* \since QGIS 3.8
*/ */
QgsUnitTypes::RenderUnit offsetYUnit() const { return mOffsetYUnit; } QgsUnitTypes::RenderUnit offsetYUnit() const { return mOffsetYUnit; }
@ -1635,6 +1645,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param scale offset unit scale * \param scale offset unit scale
* \see offsetYMapUnitScale() * \see offsetYMapUnitScale()
* \see setOffsetXMapUnitScale() * \see setOffsetXMapUnitScale()
* \since QGIS 3.8
*/ */
void setOffsetYMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetYMapUnitScale = scale; } void setOffsetYMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetYMapUnitScale = scale; }
@ -1642,6 +1653,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* Returns the unit scale for the vertical offset between rows in the pattern. * Returns the unit scale for the vertical offset between rows in the pattern.
* \see setOffsetYMapUnitScale() * \see setOffsetYMapUnitScale()
* \see offsetXMapUnitScale() * \see offsetXMapUnitScale()
* \since QGIS 3.8
*/ */
const QgsMapUnitScale &offsetYMapUnitScale() const { return mOffsetYMapUnitScale; } const QgsMapUnitScale &offsetYMapUnitScale() const { return mOffsetYMapUnitScale; }