Skip to content

Commit cb9b3b4

Browse files
committedApr 25, 2019
Add forgotten since tags on new point pattern fill functions
1 parent 8879744 commit cb9b3b4

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
 

‎python/core/auto_generated/symbology/qgsfillsymbollayer.sip.in

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,8 @@ Sets the horizontal offset values for points in the pattern.
16321632
.. seealso:: :py:func:`offsetX`
16331633

16341634
.. seealso:: :py:func:`setOffsetY`
1635+
1636+
.. versionadded:: 3.8
16351637
%End
16361638

16371639
double offsetX() const;
@@ -1641,6 +1643,8 @@ Returns the horizontal offset values for points in the pattern.
16411643
.. seealso:: :py:func:`setOffsetX`
16421644

16431645
.. seealso:: :py:func:`offsetY`
1646+
1647+
.. versionadded:: 3.8
16441648
%End
16451649

16461650
void setOffsetY( double offset );
@@ -1652,6 +1656,8 @@ Sets the vertical offset values for points in the pattern.
16521656
.. seealso:: :py:func:`offsetY`
16531657

16541658
.. seealso:: :py:func:`setOffsetX`
1659+
1660+
.. versionadded:: 3.8
16551661
%End
16561662

16571663
double offsetY() const;
@@ -1661,6 +1667,8 @@ Returns the vertical offset values for points in the pattern.
16611667
.. seealso:: :py:func:`setOffsetY`
16621668

16631669
.. seealso:: :py:func:`offsetX`
1670+
1671+
.. versionadded:: 3.8
16641672
%End
16651673

16661674
virtual bool setSubSymbol( QgsSymbol *symbol /Transfer/ );
@@ -1768,6 +1776,8 @@ Sets the units for the horizontal offset between rows in the pattern.
17681776
.. seealso:: :py:func:`offsetXUnit`
17691777

17701778
.. seealso:: :py:func:`setOffsetYUnit`
1779+
1780+
.. versionadded:: 3.8
17711781
%End
17721782

17731783
QgsUnitTypes::RenderUnit offsetXUnit() const;
@@ -1777,6 +1787,8 @@ Returns the units for the horizontal offset for rows in the pattern.
17771787
.. seealso:: :py:func:`setOffsetXUnit`
17781788

17791789
.. seealso:: :py:func:`offsetYUnit`
1790+
1791+
.. versionadded:: 3.8
17801792
%End
17811793

17821794
void setOffsetXMapUnitScale( const QgsMapUnitScale &scale );
@@ -1788,6 +1800,8 @@ Sets the unit scale for the horizontal offset for rows in the pattern.
17881800
.. seealso:: :py:func:`offsetXMapUnitScale`
17891801

17901802
.. seealso:: :py:func:`setOffsetYMapUnitScale`
1803+
1804+
.. versionadded:: 3.8
17911805
%End
17921806

17931807
const QgsMapUnitScale &offsetXMapUnitScale() const;
@@ -1797,6 +1811,8 @@ Returns the unit scale for the horizontal offset for rows in the pattern.
17971811
.. seealso:: :py:func:`setOffsetXMapUnitScale`
17981812

17991813
.. seealso:: :py:func:`offsetYMapUnitScale`
1814+
1815+
.. versionadded:: 3.8
18001816
%End
18011817

18021818
void setOffsetYUnit( QgsUnitTypes::RenderUnit unit );
@@ -1808,6 +1824,8 @@ Sets the units for the vertical offset for rows in the pattern.
18081824
.. seealso:: :py:func:`offsetYUnit`
18091825

18101826
.. seealso:: :py:func:`setOffsetXUnit`
1827+
1828+
.. versionadded:: 3.8
18111829
%End
18121830

18131831
QgsUnitTypes::RenderUnit offsetYUnit() const;
@@ -1817,6 +1835,8 @@ Returns the units for the vertical offset for rows in the pattern.
18171835
.. seealso:: :py:func:`setOffsetYUnit`
18181836

18191837
.. seealso:: :py:func:`offsetXUnit`
1838+
1839+
.. versionadded:: 3.8
18201840
%End
18211841

18221842
void setOffsetYMapUnitScale( const QgsMapUnitScale &scale );
@@ -1828,6 +1848,8 @@ Sets the unit scale for the vertical offset for rows in the pattern.
18281848
.. seealso:: :py:func:`offsetYMapUnitScale`
18291849

18301850
.. seealso:: :py:func:`setOffsetXMapUnitScale`
1851+
1852+
.. versionadded:: 3.8
18311853
%End
18321854

18331855
const QgsMapUnitScale &offsetYMapUnitScale() const;
@@ -1837,6 +1859,8 @@ Returns the unit scale for the vertical offset between rows in the pattern.
18371859
.. seealso:: :py:func:`setOffsetYMapUnitScale`
18381860

18391861
.. seealso:: :py:func:`offsetXMapUnitScale`
1862+
1863+
.. versionadded:: 3.8
18401864
%End
18411865

18421866
virtual void setOutputUnit( QgsUnitTypes::RenderUnit unit );

‎src/core/symbology/qgsfillsymbollayer.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,13 +1485,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
14851485
* \param offset offset value
14861486
* \see offsetX()
14871487
* \see setOffsetY()
1488+
* \since QGIS 3.8
14881489
*/
14891490
void setOffsetX( double offset ) { mOffsetX = offset; }
14901491

14911492
/**
14921493
* Returns the horizontal offset values for points in the pattern.
14931494
* \see setOffsetX()
14941495
* \see offsetY()
1496+
* \since QGIS 3.8
14951497
*/
14961498
double offsetX() const { return mOffsetX; }
14971499

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

15061509
/**
15071510
* Returns the vertical offset values for points in the pattern.
15081511
* \see setOffsetY()
15091512
* \see offsetX()
1513+
* \since QGIS 3.8
15101514
*/
15111515
double offsetY() const { return mOffsetY; }
15121516

@@ -1590,13 +1594,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
15901594
* \param unit offset units
15911595
* \see offsetXUnit()
15921596
* \see setOffsetYUnit()
1597+
* \since QGIS 3.8
15931598
*/
15941599
void setOffsetXUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetXUnit = unit; }
15951600

15961601
/**
15971602
* Returns the units for the horizontal offset for rows in the pattern.
15981603
* \see setOffsetXUnit()
15991604
* \see offsetYUnit()
1605+
* \since QGIS 3.8
16001606
*/
16011607
QgsUnitTypes::RenderUnit offsetXUnit() const { return mOffsetXUnit; }
16021608

@@ -1605,13 +1611,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
16051611
* \param scale offset unit scale
16061612
* \see offsetXMapUnitScale()
16071613
* \see setOffsetYMapUnitScale()
1614+
* \since QGIS 3.8
16081615
*/
16091616
void setOffsetXMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetXMapUnitScale = scale; }
16101617

16111618
/**
16121619
* Returns the unit scale for the horizontal offset for rows in the pattern.
16131620
* \see setOffsetXMapUnitScale()
16141621
* \see offsetYMapUnitScale()
1622+
* \since QGIS 3.8
16151623
*/
16161624
const QgsMapUnitScale &offsetXMapUnitScale() const { return mOffsetXMapUnitScale; }
16171625

@@ -1620,13 +1628,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
16201628
* \param unit offset units
16211629
* \see offsetYUnit()
16221630
* \see setOffsetXUnit()
1631+
* \since QGIS 3.8
16231632
*/
16241633
void setOffsetYUnit( QgsUnitTypes::RenderUnit unit ) { mOffsetYUnit = unit; }
16251634

16261635
/**
16271636
* Returns the units for the vertical offset for rows in the pattern.
16281637
* \see setOffsetYUnit()
16291638
* \see offsetXUnit()
1639+
* \since QGIS 3.8
16301640
*/
16311641
QgsUnitTypes::RenderUnit offsetYUnit() const { return mOffsetYUnit; }
16321642

@@ -1635,13 +1645,15 @@ class CORE_EXPORT QgsPointPatternFillSymbolLayer: public QgsImageFillSymbolLayer
16351645
* \param scale offset unit scale
16361646
* \see offsetYMapUnitScale()
16371647
* \see setOffsetXMapUnitScale()
1648+
* \since QGIS 3.8
16381649
*/
16391650
void setOffsetYMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetYMapUnitScale = scale; }
16401651

16411652
/**
16421653
* Returns the unit scale for the vertical offset between rows in the pattern.
16431654
* \see setOffsetYMapUnitScale()
16441655
* \see offsetXMapUnitScale()
1656+
* \since QGIS 3.8
16451657
*/
16461658
const QgsMapUnitScale &offsetYMapUnitScale() const { return mOffsetYMapUnitScale; }
16471659

0 commit comments

Comments
 (0)
Please sign in to comment.