Sipify all

This commit is contained in:
Nyall Dawson 2024-09-03 10:17:17 +10:00
parent 609abe07aa
commit c8a8e37376
2 changed files with 8 additions and 8 deletions

View File

@ -68,13 +68,13 @@ Returns the size in map units the diagram will use to render.
Returns the size in map units the diagram will use to render. Interpolate size
%End
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const = 0;
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &interpolationSettings ) const = 0;
%Docstring
Returns the size of the legend item for the diagram corresponding to a specified value.
:param value: value to return legend item size for
:param s: diagram settings
:param is: interpolation settings
:param interpolationSettings: interpolation settings
%End
protected:
@ -123,13 +123,13 @@ Calculates a size to match the current settings and rendering context
:return: The properly scaled font for rendering
%End
QSizeF sizeForValue( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const;
QSizeF sizeForValue( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &interpolationSettings ) const;
%Docstring
Returns the scaled size of a diagram for a value, respecting the specified diagram interpolation settings.
:param value: value to calculate corresponding circular size for
:param s: diagram settings
:param is: interpolation settings
:param interpolationSettings: interpolation settings
%End
};

View File

@ -68,13 +68,13 @@ Returns the size in map units the diagram will use to render.
Returns the size in map units the diagram will use to render. Interpolate size
%End
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const = 0;
virtual double legendSize( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &interpolationSettings ) const = 0;
%Docstring
Returns the size of the legend item for the diagram corresponding to a specified value.
:param value: value to return legend item size for
:param s: diagram settings
:param is: interpolation settings
:param interpolationSettings: interpolation settings
%End
protected:
@ -123,13 +123,13 @@ Calculates a size to match the current settings and rendering context
:return: The properly scaled font for rendering
%End
QSizeF sizeForValue( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &is ) const;
QSizeF sizeForValue( double value, const QgsDiagramSettings &s, const QgsDiagramInterpolationSettings &interpolationSettings ) const;
%Docstring
Returns the scaled size of a diagram for a value, respecting the specified diagram interpolation settings.
:param value: value to calculate corresponding circular size for
:param s: diagram settings
:param is: interpolation settings
:param interpolationSettings: interpolation settings
%End
};