9 * A pen stores attributes for painting such as line width,
10 * linetype, color, ...
12 * @author James Hammons
13 * @author Andrew Mustun
15 class RS_Pen: public RS_Flags
19 RS_Pen(const RS_Color & c, RS2::LineWidth w, RS2::LineType t);
20 RS_Pen(unsigned int f);
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 RS_Color & getColor() const;
30 void setColor(const RS_Color & c);
32 bool operator==(const RS_Pen & p) const;
33 bool operator!=(const RS_Pen & p) const;
35 friend std::ostream & operator<<(std::ostream & os, const RS_Pen & p);
38 RS2::LineType lineType;