]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_entity.cpp
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_entity.cpp
index fc7dbeab804b20affd93e124d7c014da0d40151e..da69974e9f3dbf4406ff6a92988c7d3972b91f8b 100644 (file)
@@ -21,7 +21,7 @@
 #include "rs_document.h"
 #include "rs_ellipse.h"
 #include "drawing.h"
-#include "rs_graphicview.h"
+#include "graphicview.h"
 #include "rs_insert.h"
 #include "rs_layer.h"
 #include "rs_line.h"
@@ -736,7 +736,7 @@ RS2::Unit RS_Entity::getGraphicUnit()
  * Implementations must drag the reference point(s) of all
  * (sub-)entities that are very close to ref by offset.
  */
-/*virtual*/ void RS_Entity::moveRef(const Vector & /*ref*/, const Vector & /*offset*/)
+/*virtual*/ void RS_Entity::moveRef(const Vector &/*ref*/, const Vector &/*offset*/)
 {
        return;
 }
@@ -745,7 +745,7 @@ RS2::Unit RS_Entity::getGraphicUnit()
  * Implementations must drag the reference point(s) of selected
  * (sub-)entities that are very close to ref by offset.
  */
-/*virtual*/ void RS_Entity::moveSelectedRef(const Vector & /*ref*/, const Vector & /*offset*/)
+/*virtual*/ void RS_Entity::moveSelectedRef(const Vector &/*ref*/, const Vector &/*offset*/)
 {
        return;
 }
@@ -917,7 +917,7 @@ void RS_Entity::stretch(Vector firstCorner, Vector secondCorner, Vector offset)
  * @return Factor for scaling the line styles considering the current
  * paper scaling and the fact that styles are stored in Millimeter.
  */
-double RS_Entity::getStyleFactor(RS_GraphicView * view)
+double RS_Entity::getStyleFactor(GraphicView * view)
 {
        double styleFactor = 1.0;
 
@@ -1100,4 +1100,3 @@ std::ostream & operator<<(std::ostream & os, RS_Entity & e)
 
        return os;
 }
-