Skip to content
Permalink
Browse files

Comments

  • Loading branch information
mhugent committed Jun 30, 2020
1 parent 6ff2fe4 commit 9ecded8b731abe9958b51d624dad7cb0f6770518
@@ -307,12 +307,17 @@ Sets the legend symbol ``width``.
double maxSymbolSize() const;
%Docstring
Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set

.. versionadded:: 3.16
%End

void setMaxSymbolSize( double size );
%Docstring
set maximum symbol size
@param size maximum size (in mm) or 0.0 if no maximum

:param size: maximum size (in mm) or 0.0 if no maximum

.. versionadded:: 3.16
%End

double minSymbolSize() const;
@@ -1117,6 +1117,8 @@ will be scaled to maintain their current relative size to the whole symbol size.
Sets the width units for the whole symbol (including all symbol layers).

:param unit: size units

.. versionadded:: 3.16
%End


@@ -320,12 +320,14 @@ class CORE_EXPORT QgsLayoutItemLegend : public QgsLayoutItem

/**
* Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set
* \since QGIS 3.16
*/
double maxSymbolSize() const;

/**
* @brief set maximum symbol size
* @param size maximum size (in mm) or 0.0 if no maximum
* \brief set maximum symbol size
* \param size maximum size (in mm) or 0.0 if no maximum
* \since QGIS 3.16
*/
void setMaxSymbolSize( double size );

@@ -1142,6 +1142,7 @@ class CORE_EXPORT QgsLineSymbol : public QgsSymbol
/**
* Sets the width units for the whole symbol (including all symbol layers).
* \param unit size units
* \since QGIS 3.16
*/
void setWidthUnit( QgsUnitTypes::RenderUnit unit );

0 comments on commit 9ecded8

Please sign in to comment.
You can’t perform that action at this time.