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:`setOffsetY`
.. versionadded:: 3.8
%End
double offsetX() const;
@ -1641,6 +1643,8 @@ Returns the horizontal offset values for points in the pattern.
.. seealso:: :py:func:`setOffsetX`
.. seealso:: :py:func:`offsetY`
.. versionadded:: 3.8
%End
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:`setOffsetX`
.. versionadded:: 3.8
%End
double offsetY() const;
@ -1661,6 +1667,8 @@ Returns the vertical offset values for points in the pattern.
.. seealso:: :py:func:`setOffsetY`
.. seealso:: :py:func:`offsetX`
.. versionadded:: 3.8
%End
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:`setOffsetYUnit`
.. versionadded:: 3.8
%End
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:`offsetYUnit`
.. versionadded:: 3.8
%End
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:`setOffsetYMapUnitScale`
.. versionadded:: 3.8
%End
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:`offsetYMapUnitScale`
.. versionadded:: 3.8
%End
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:`setOffsetXUnit`
.. versionadded:: 3.8
%End
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:`offsetXUnit`
.. versionadded:: 3.8
%End
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:`setOffsetXMapUnitScale`
.. versionadded:: 3.8
%End
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:`offsetXMapUnitScale`
.. versionadded:: 3.8
%End
virtual void setOutputUnit( QgsUnitTypes::RenderUnit unit );

View File

@ -1485,6 +1485,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value
* \see offsetX()
* \see setOffsetY()
* \since QGIS 3.8
*/
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.
* \see setOffsetX()
* \see offsetY()
* \since QGIS 3.8
*/
double offsetX() const { return mOffsetX; }
@ -1500,6 +1502,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value
* \see offsetY()
* \see setOffsetX()
* \since QGIS 3.8
*/
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.
* \see setOffsetY()
* \see offsetX()
* \since QGIS 3.8
*/
double offsetY() const { return mOffsetY; }
@ -1590,6 +1594,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param unit offset units
* \see offsetXUnit()
* \see setOffsetYUnit()
* \since QGIS 3.8
*/
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.
* \see setOffsetXUnit()
* \see offsetYUnit()
* \since QGIS 3.8
*/
QgsUnitTypes::RenderUnit offsetXUnit() const { return mOffsetXUnit; }
@ -1605,6 +1611,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param scale offset unit scale
* \see offsetXMapUnitScale()
* \see setOffsetYMapUnitScale()
* \since QGIS 3.8
*/
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.
* \see setOffsetXMapUnitScale()
* \see offsetYMapUnitScale()
* \since QGIS 3.8
*/
const QgsMapUnitScale &offsetXMapUnitScale() const { return mOffsetXMapUnitScale; }
@ -1620,6 +1628,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param unit offset units
* \see offsetYUnit()
* \see setOffsetXUnit()
* \since QGIS 3.8
*/
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.
* \see setOffsetYUnit()
* \see offsetXUnit()
* \since QGIS 3.8
*/
QgsUnitTypes::RenderUnit offsetYUnit() const { return mOffsetYUnit; }
@ -1635,6 +1645,7 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param scale offset unit scale
* \see offsetYMapUnitScale()
* \see setOffsetXMapUnitScale()
* \since QGIS 3.8
*/
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.
* \see setOffsetYMapUnitScale()
* \see offsetXMapUnitScale()
* \since QGIS 3.8
*/
const QgsMapUnitScale &offsetYMapUnitScale() const { return mOffsetYMapUnitScale; }