@@ -380,7 +380,7 @@ and vertical margins to add to the text when calculating the size of the shape.
380
380
.. seealso:: :py:func:`sizeType`
381
381
%End
382
382
383
- void setSize( const QSizeF & size );
383
+ void setSize( QSizeF size );
384
384
%Docstring
385
385
Sets the size of the background shape. The meaning of the size depends on the current sizeType(),
386
386
e.g., for size types of QgsTextBackgroundSettings.SizeFixed the size will represent the actual width and
@@ -490,7 +490,7 @@ via offsetUnit().
490
490
.. seealso:: :py:func:`offsetUnit`
491
491
%End
492
492
493
- void setOffset( const QPointF & offset );
493
+ void setOffset( QPointF offset );
494
494
%Docstring
495
495
Sets the offset used for drawing the background shape. Units are specified using
496
496
setOffsetUnit().
@@ -554,7 +554,7 @@ through radiiUnit().
554
554
.. seealso:: :py:func:`radiiUnit`
555
555
%End
556
556
557
- void setRadii( const QSizeF & radii );
557
+ void setRadii( QSizeF radii );
558
558
%Docstring
559
559
Sets the radii used for rounding the corners of shapes. This is only used if
560
560
type() is set to QgsTextBackgroundSettings.ShapeRectangle or QgsTextBackgroundSettings.ShapeSquare.
@@ -1539,7 +1539,7 @@ formats like SVG to maintain text as text objects, but at the cost of degraded
1539
1539
rendering and may result in side effects like misaligned text buffers.
1540
1540
%End
1541
1541
1542
- static void drawText( const QPointF & point, double rotation, HAlignment alignment, const QStringList &textLines,
1542
+ static void drawText( QPointF point, double rotation, HAlignment alignment, const QStringList &textLines,
1543
1543
QgsRenderContext &context, const QgsTextFormat &format,
1544
1544
bool drawAsOutlines = true );
1545
1545
%Docstring
@@ -1576,7 +1576,7 @@ formats like SVG to maintain text as text objects, but at the cost of degraded
1576
1576
rendering and may result in side effects like misaligned text buffers.
1577
1577
%End
1578
1578
1579
- static void drawPart( const QPointF & origin, double rotation, HAlignment alignment, const QStringList &textLines,
1579
+ static void drawPart( QPointF origin, double rotation, HAlignment alignment, const QStringList &textLines,
1580
1580
QgsRenderContext &context, const QgsTextFormat &format,
1581
1581
TextPart part, bool drawAsOutlines = true );
1582
1582
%Docstring
0 commit comments