]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_spline.cpp
Adding missing implementation.
[architektonas] / src / base / rs_spline.cpp
index 8b4c3a516980618cb193428596e7594dabf69476..ec686c21b31fdfeef2987b4da6003e3c93142196 100644 (file)
@@ -3,7 +3,9 @@
 // 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
+// Portions copyright (C) 2001-2003 RibbonSoft
+// Copyright (C) 2010 Underground Software
+// See the README and GPLv2 files for licensing and warranty information
 //
 // JLH = James L. Hammons <jlhamm@acm.org>
 //
@@ -15,9 +17,9 @@
 #include "rs_spline.h"
 
 #include "rs_debug.h"
-#include "rs_graphicview.h"
+#include "graphicview.h"
 #include "drawing.h"
-#include "paintintf.h"
+#include "paintinterface.h"
 
 /**
  * Constructor.
@@ -353,8 +355,7 @@ void RS_Spline::moveRef(const Vector & ref, const Vector & offset)
        update();
 }
 
-//void RS_Spline::draw(RS_Painter* painter, RS_GraphicView* view, double /*patternOffset*/)
-void RS_Spline::draw(PaintInterface * painter, RS_GraphicView * view, double /*patternOffset*/)
+void RS_Spline::draw(PaintInterface * painter, GraphicView * view, double /*patternOffset*/)
 {
        if (painter == NULL || view == NULL)
                return;
@@ -381,7 +382,7 @@ void RS_Spline::draw(PaintInterface * painter, RS_GraphicView * view, double /*p
  * Todo: draw the spline, user patterns.
  */
 /*
-void RS_Spline::draw(RS_Painter* painter, RS_GraphicView* view) {
+void RS_Spline::draw(RS_Painter* painter, GraphicView* view) {
    if (painter==NULL || view==NULL) {
        return;
    }