This commit is contained in:
Nyall Dawson 2019-01-09 16:31:11 +10:00
parent 2a2995aad4
commit c7d09a3261
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ Painter should be scaled beforehand so that units correspond to millimeters.
void drawLegend( QgsRenderContext *rendercontext );
%Docstring
Draw the legend using a given :py:class:`QgsRenderContext`. It willoccupy the area reported in legendSize().
Draw the legend using a given :py:class:`QgsRenderContext`. It will occupy the area reported in legendSize().
%End
static void setNodeLegendStyle( QgsLayerTreeNode *node, QgsLegendStyle::Style style );

View File

@ -59,12 +59,12 @@ class CORE_EXPORT QgsLegendRenderer
/**
* Draw the legend with given painter. It will occupy the area reported in legendSize().
* Painter should be scaled beforehand so that units correspond to millimeters.
* Painter should be scaled beforehand so that units correspond to millimeters.
*/
void drawLegend( QPainter *painter );
/**
* Draw the legend using a given QgsRenderContext. It willoccupy the area reported in legendSize().
* Draw the legend using a given QgsRenderContext. It will occupy the area reported in legendSize().
*/
void drawLegend( QgsRenderContext *rendercontext );