]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_line.cpp
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_line.cpp
index 83f37421e88bc2f6395ba2988057847be6b562b3..f67d1089c056e101a979a17490f4cdedef5d22c2 100644 (file)
@@ -1,9 +1,23 @@
+// rs_line.cpp
+//
+// Part of the Architektonas Project
+// Originally part of QCad Community Edition by Andrew Mustun
+// Extensively rewritten and refactored by James L. Hammons
+// (C) 2010 Underground Software
+//
+// JLH = James L. Hammons <jlhamm@acm.org>
+//
+// Who  When        What
+// ---  ----------  -----------------------------------------------------------
+// JLH  06/01/2010  Added this text. :-)
+//
 
 #include "rs_line.h"
 
 #include "rs_debug.h"
-#include "rs_graphicview.h"
-#include "rs_graphic.h"
+#include "drawing.h"
+#include "graphicview.h"
+#include "rs_linetypepattern.h"
 #include "paintintf.h"
 
 /**
@@ -471,8 +485,7 @@ void RS_Line::moveRef(const Vector& ref, const Vector& offset)
     }
 }
 
-//void RS_Line::draw(RS_Painter * painter, RS_GraphicView * view, double patternOffset)
-void RS_Line::draw(PaintInterface * painter, RS_GraphicView * view, double patternOffset)
+void RS_Line::draw(PaintInterface * painter, GraphicView * view, double patternOffset)
 {
        if (painter == NULL || view == NULL)
 //{