Skip to content

Commit

Permalink
Add forgotten since tags on new point pattern fill functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Apr 25, 2019
1 parent 8879744 commit cb9b3b4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
24 changes: 24 additions & 0 deletions python/core/auto_generated/symbology/qgsfillsymbollayer.sip.in
Expand Up @@ -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;
Expand All @@ -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 );
Expand All @@ -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;
Expand All @@ -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/ );
Expand Down Expand Up @@ -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;
Expand All @@ -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 );
Expand All @@ -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;
Expand All @@ -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 );
Expand All @@ -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;
Expand All @@ -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 );
Expand All @@ -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;
Expand All @@ -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 );
Expand Down
12 changes: 12 additions & 0 deletions src/core/symbology/qgsfillsymbollayer.h
Expand Up @@ -1485,13 +1485,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value
* \see offsetX()
* \see setOffsetY()
* \since QGIS 3.8
*/
void setOffsetX( double offset ) { mOffsetX = offset; }

/**
* Returns the horizontal offset values for points in the pattern.
* \see setOffsetX()
* \see offsetY()
* \since QGIS 3.8
*/
double offsetX() const { return mOffsetX; }

Expand All @@ -1500,13 +1502,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
* \param offset offset value
* \see offsetY()
* \see setOffsetX()
* \since QGIS 3.8
*/
void setOffsetY( double offset ) { mOffsetY = offset; }

/**
* Returns the vertical offset values for points in the pattern.
* \see setOffsetY()
* \see offsetX()
* \since QGIS 3.8
*/
double offsetY() const { return mOffsetY; }

Expand Down Expand Up @@ -1590,13 +1594,15 @@ 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; }

/**
* 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; }

Expand All @@ -1605,13 +1611,15 @@ 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; }

/**
* 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; }

Expand All @@ -1620,13 +1628,15 @@ 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; }

/**
* 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; }

Expand All @@ -1635,13 +1645,15 @@ 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; }

/**
* 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; }

Expand Down

0 comments on commit cb9b3b4

Please sign in to comment.