9 * A pen stores attributes for painting such as line width,
10 * linetype, color, ...
12 * @author James Hammons
13 * @author Andrew Mustun
15 class Pen: public Flags
19 Pen(const Color & c, RS2::LineWidth w, RS2::LineType t);
23 RS2::LineType getLineType() const;
24 void setLineType(RS2::LineType t);
25 RS2::LineWidth getWidth() const;
26 void setWidth(RS2::LineWidth w);
27 double getScreenWidth() const;
28 void setScreenWidth(double w);
29 const Color & getColor() const;
30 void setColor(const Color & c);
32 bool operator==(const Pen & p) const;
33 bool operator!=(const Pen & p) const;
35 friend std::ostream & operator<<(std::ostream & os, const Pen & p);
38 RS2::LineType lineType;