]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_dimension.h
Fixed Library Browser...
[architektonas] / src / base / rs_dimension.h
index abb932a7bb36d31331e74ef45710e4fc2f3c38bf..7477a45ce31963096d6638a16df6fbc6e7946331 100644 (file)
@@ -10,28 +10,28 @@ class RS_DimensionData: public RS_Flags
 {
        public:
                /**
-               * Default constructor. Leaves the data object uninitialized.
-               */
+                * Default constructor. Leaves the data object uninitialized.
+                */
                RS_DimensionData() {}
 
                /**
-               * Constructor with initialisation.
-               *
-               * @param definitionPoint Definition point.
-               * @param middleOfText Middle point of dimension text.
-               * @param valign Vertical alignment.
-               * @param halign Horizontal alignment.
-               * @param lineSpacingStyle Line spacing style.
-               * @param lineSpacingFactor Line spacing factor.
-               * @param text Text string entered explicitly by user or null
-               *         or "<>" for the actual measurement or " " (one blank space).
-               *         for supressing the text.
-               * @param style Dimension style name.
-               * @param angle Rotation angle of dimension text away from
-               *         default orientation.
-               */
-               RS_DimensionData(const Vector& definitionPoint,
-                       const Vector& middleOfText,
+                * Constructor with initialisation.
+                *
+                * @param definitionPoint Definition point.
+                * @param middleOfText Middle point of dimension text.
+                * @param valign Vertical alignment.
+                * @param halign Horizontal alignment.
+                * @param lineSpacingStyle Line spacing style.
+                * @param lineSpacingFactor Line spacing factor.
+                * @param text Text string entered explicitly by user or null
+                *         or "<>" for the actual measurement or " " (one blank space).
+                *         for supressing the text.
+                * @param style Dimension style name.
+                * @param angle Rotation angle of dimension text away from
+                *         default orientation.
+                */
+               RS_DimensionData(const Vector & definitionPoint,
+                       const Vector & middleOfText,
                        RS2::VAlign valign,
                        RS2::HAlign halign,
                        RS2::TextLineSpacingStyle lineSpacingStyle,
@@ -77,10 +77,10 @@ class RS_DimensionData: public RS_Flags
                /** Line spacing factor */
                double lineSpacingFactor;
                /**
-               * Text string entered explicitly by user or null
-               * or "<>" for the actual measurement or " " (one blank space)
-               * for supressing the text.
-               */
+                * Text string entered explicitly by user or null
+                * or "<>" for the actual measurement or " " (one blank space)
+                * for supressing the text.
+                */
                QString text;
                /** Dimension style name */
                QString style;
@@ -106,15 +106,15 @@ class RS_Dimension: public RS_EntityContainer
                void setLabel(const QString & l);
 
                /**
-               * Needs to be implemented by the dimension class to return the
-               * measurement of the dimension (e.g. 10.5 or 15'14").
-               */
+                * Needs to be implemented by the dimension class to return the
+                * measurement of the dimension (e.g. 10.5 or 15'14").
+                */
                virtual QString getMeasuredLabel() = 0;
 
                /**
-               * Must be overwritten by implementing dimension entity class
-               * to update the subentities which make up the dimension entity.
-               */
+                * Must be overwritten by implementing dimension entity class
+                * to update the subentities which make up the dimension entity.
+                */
                virtual void update(bool autoText = false) = 0;
 
                void updateCreateDimensionLine(const Vector & p1, const Vector & p2,
@@ -133,7 +133,7 @@ class RS_Dimension: public RS_EntityContainer
                double getExtensionLineOffset();
                double getDimensionLineGap();
                double getTextHeight();
-               double getGraphicVariable(const QString& key, double defMM, int code);
+               double getGraphicVariable(const QString & key, double defMM, int code);
                virtual double getLength();
                virtual void move(Vector offset);
                virtual void rotate(Vector center, double angle);