Skip to content

Commit

Permalink
A couple of callouts dox fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 22, 2019
1 parent aab8e51 commit bc524b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions python/core/auto_generated/callouts/qgscallout.sip.in
Expand Up @@ -374,7 +374,7 @@ Returns the offset distance from the anchor point at which to start the line. Un
.. seealso:: :py:func:`offsetFromAnchorUnit`
%End

void setOffsetFromAnchor( double length );
void setOffsetFromAnchor( double distance );
%Docstring
Sets the offset ``distance`` from the anchor point at which to start the line. Units are specified through setOffsetFromAnchorUnit().

Expand Down Expand Up @@ -414,7 +414,7 @@ Sets the map unit ``scale`` for the offset from anchor.

const QgsMapUnitScale &offsetFromAnchorMapUnitScale() const;
%Docstring
Returns the map unit scale for the minimum callout length.
Returns the map unit scale for the offset from anchor.

.. seealso:: :py:func:`setOffsetFromAnchorMapUnitScale`

Expand Down
4 changes: 2 additions & 2 deletions src/core/callouts/qgscallout.h
Expand Up @@ -398,7 +398,7 @@ class CORE_EXPORT QgsSimpleLineCallout : public QgsCallout
* \see offsetFromAnchor()
* \see setOffsetFromAnchorUnit()
*/
void setOffsetFromAnchor( double length ) { mOffsetFromAnchorDistance = length; }
void setOffsetFromAnchor( double distance ) { mOffsetFromAnchorDistance = distance; }

/**
* Sets the \a unit for the offset from anchor distance.
Expand All @@ -423,7 +423,7 @@ class CORE_EXPORT QgsSimpleLineCallout : public QgsCallout
void setOffsetFromAnchorMapUnitScale( const QgsMapUnitScale &scale ) { mOffsetFromAnchorScale = scale; }

/**
* Returns the map unit scale for the minimum callout length.
* Returns the map unit scale for the offset from anchor.
* \see setOffsetFromAnchorMapUnitScale()
* \see offsetFromAnchorUnit()
* \see offsetFromAnchor()
Expand Down

0 comments on commit bc524b0

Please sign in to comment.