mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
A couple of callouts dox fixes
This commit is contained in:
parent
aab8e511bd
commit
bc524b0e2e
@ -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().
|
||||
|
||||
@ -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`
|
||||
|
||||
|
||||
@ -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.
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user