X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_entity.cpp;h=ff86b6bb8d914b5db9100946fd0e61e1f6d85ec9;hb=20cce16e98fc9b052c5862efa6394a285971e846;hp=fc7dbeab804b20affd93e124d7c014da0d40151e;hpb=89e127aa3dbd74d3158e6dbe0ca1703420c04395;p=architektonas diff --git a/src/base/rs_entity.cpp b/src/base/rs_entity.cpp index fc7dbea..ff86b6b 100644 --- a/src/base/rs_entity.cpp +++ b/src/base/rs_entity.cpp @@ -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 // @@ -21,7 +23,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 +738,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 +747,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 +919,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 +1102,3 @@ std::ostream & operator<<(std::ostream & os, RS_Entity & e) return os; } -