]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_polyline.h
In the middle of major refactoring...
[architektonas] / src / base / rs_polyline.h
index daa303e2c831d58ec17d23f6047432da127018ff..00668479a31a7fbee04cab2d47d3fd7941742e24 100644 (file)
@@ -1,29 +1,3 @@
-/****************************************************************************
-** $Id: rs_polyline.h 2367 2005-04-04 16:57:36Z andrew $
-**
-** Copyright (C) 2001-2003 RibbonSoft. All rights reserved.
-**
-** This file is part of the qcadlib Library project.
-**
-** This file may be distributed and/or modified under the terms of the
-** GNU General Public License version 2 as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL included in the
-** packaging of this file.
-**
-** Licensees holding valid qcadlib Professional Edition licenses may use
-** this file in accordance with the qcadlib Commercial License
-** Agreement provided with the Software.
-**
-** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
-** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
-**
-** See http://www.ribbonsoft.com for further details.
-**
-** Contact info@ribbonsoft.com if any conditions of this licensing are
-** not clear to you.
-**
-**********************************************************************/
-
 #ifndef RS_POLYLINE_H
 #define RS_POLYLINE_H
 
@@ -82,35 +56,28 @@ class RS_Polyline: public RS_EntityContainer
                Vector getStartpoint();
                void setEndpoint(Vector & v);
                Vector getEndpoint();
-
                double getClosingBulge();
                void updateEndpoints();
-
                bool isClosed() const;
                void setClosed(bool cl);
 
                virtual VectorSolutions getRefPoints();
                virtual Vector getNearestRef(const Vector & coord, double * dist = NULL);
                virtual Vector getNearestSelectedRef(const Vector & coord, double * dist = NULL);
-
                virtual RS_Entity * addVertex(const Vector & v, double bulge = 0.0, bool prepend = false);
                virtual void setNextBulge(double bulge);
                virtual void addEntity(RS_Entity * entity);
                //virtual void addSegment(RS_Entity* entity);
                virtual void removeLastVertex();
                virtual void endPolyline();
-
                //virtual void reorder();
-
                virtual void move(Vector offset);
                virtual void rotate(Vector center, double angle);
                virtual void scale(Vector center, Vector factor);
                virtual void mirror(Vector axisPoint1, Vector axisPoint2);
                virtual void moveRef(const Vector& ref, const Vector& offset);
                virtual void stretch(Vector firstCorner, Vector secondCorner, Vector offset);
-
-       //    virtual void draw(RS_Painter* painter, RS_GraphicView* view, double patternOffset=0.0);
-               virtual void draw(PaintInterface * painter, RS_GraphicView * view, double patternOffset = 0.0);
+               virtual void draw(PaintInterface * painter, GraphicView * view, double patternOffset = 0.0);
 
                friend std::ostream & operator<<(std::ostream & os, const RS_Polyline & l);