@@ -452,7 +452,7 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
452
452
* @deprecated use QgsComposerUtils::fontDescentMM instead
453
453
*/
454
454
double fontDescentMillimeters( const QFont& font ) const /Deprecated/;
455
-
455
+
456
456
/**Returns the font height in Millimeters (considers upscaling and downscaling with FONT_WORKAROUND_SCALE.
457
457
* Font height equals the font ascent+descent+1 (for baseline).
458
458
* @note Added in version 2.4
@@ -525,7 +525,7 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
525
525
* @see setId
526
526
*/
527
527
QString uuid() const;
528
-
528
+
529
529
/**Get item display name. This is the item's id if set, and if
530
530
* not, a user-friendly string identifying item type.
531
531
* @returns display name for item
@@ -534,16 +534,16 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
534
534
* @note added in version 2.5
535
535
*/
536
536
virtual QString displayName() const;
537
-
537
+
538
538
/**Sets visibility for item.
539
539
* @param visible set to true to show item, false to hide item
540
540
* @note QGraphicsItem::setVisible should not be called directly
541
541
* on a QgsComposerItem, as some item types (eg groups) need to override
542
542
* the visibility toggle.
543
543
* @note added in version 2.5
544
544
*/
545
- virtual void setVisibility( const bool visible );
546
-
545
+ virtual void setVisibility( const bool visible );
546
+
547
547
/**Returns whether this item is part of a group
548
548
* @returns true if item is in a group
549
549
* @note added in version 2.5
@@ -643,7 +643,7 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
643
643
* @deprecated will be removed in QGIS 3.0
644
644
*/
645
645
bool imageSizeConsideringRotation( double& width, double& height, double rotation ) const /Deprecated/;
646
-
646
+
647
647
/**Calculates width and hight of the picture (in mm) such that it fits into the item frame with the given rotation
648
648
* @deprecated will be removed in QGIS 3.0
649
649
*/
@@ -662,7 +662,7 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
662
662
* @deprecated will be removed in QGIS 3.0
663
663
*/
664
664
bool cornerPointOnRotatedAndScaledRect( double& x, double& y, double width, double height, double rotation ) const /Deprecated/;
665
-
665
+
666
666
/**Calculates corner point after rotation and scaling
667
667
* @deprecated will be removed in QGIS 3.0
668
668
*/
@@ -672,19 +672,19 @@ class QgsComposerItem : QgsComposerObject, QGraphicsRectItem
672
672
* @deprecated will be removed in QGIS 3.0
673
673
*/
674
674
void sizeChangedByRotation( double& width, double& height, double rotation ) /Deprecated/;
675
-
675
+
676
676
/**Calculates width / height of the bounding box of a rotated rectangle
677
677
* @deprecated will be removed in QGIS 3.0
678
678
*/
679
679
void sizeChangedByRotation( double& width, double& height ) /Deprecated/;
680
-
680
+
681
681
/**Rotates a point / vector
682
682
* @param angle rotation angle in degrees, counterclockwise
683
683
* @param x in/out: x coordinate before / after the rotation
684
684
* @param y in/out: y cooreinate before / after the rotation
685
685
* @deprecated use QgsComposerUtils:rotate instead
686
686
*/
687
- void rotate( double angle, double& x, double& y ) const /Deprecated/;
687
+ void rotate( double angle, double& x, double& y ) const /Deprecated/;
688
688
689
689
/**Return horizontal align snap item. Creates a new graphics line if 0*/
690
690
QGraphicsLineItem* hAlignSnapItem();
0 commit comments