]> Shamusworld >> Repos - architektonas/blobdiff - src/base/pen.h
Major refactor of Architektonas: Jettisoning old cruft.
[architektonas] / src / base / pen.h
diff --git a/src/base/pen.h b/src/base/pen.h
deleted file mode 100644 (file)
index a49c3e7..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef __PEN_H__
-#define __PEN_H__
-
-#include "enums.h"
-#include "color.h"
-#include "flags.h"
-
-/**
- * A pen stores attributes for painting such as line width,
- * linetype, color, ...
- *
- * @author James Hammons
- * @author Andrew Mustun
- */
-class Pen: public Flags
-{
-       public:
-               Pen();
-               Pen(const Color & c, RS2::LineWidth w, RS2::LineType t);
-               Pen(unsigned int f);
-               virtual ~Pen();
-
-               RS2::LineType getLineType() const;
-               void setLineType(RS2::LineType t);
-               RS2::LineWidth getWidth() const;
-               void setWidth(RS2::LineWidth w);
-               double getScreenWidth() const;
-               void setScreenWidth(double w);
-               const Color & getColor() const;
-               void setColor(const Color & c);
-               bool isValid();
-               bool operator==(const Pen & p) const;
-               bool operator!=(const Pen & p) const;
-
-               friend std::ostream & operator<<(std::ostream & os, const Pen & p);
-
-       protected:
-               RS2::LineType lineType;
-               RS2::LineWidth width;
-               double screenWidth;
-               Color color;
-};
-
-#endif