7 //#include <sys/_size_t.h>
17 * Holds the data that defines a layer.
24 LayerData(const QString & name, const Pen & pen, bool frozen, bool locked)
28 this->frozen = frozen;
29 this->locked = locked;
35 //! default pen for this layer
44 //! Converted flag (cam)
49 * Class for representing a layer
51 * @author Andrew Mustun
56 explicit Layer(const QString & name);
57 //Layer(const char* name);
60 void setName(const QString & name);
61 QString getName() const;
62 void setPen(const Pen & pen);
64 bool isFrozen() const;
65 bool isConverted() const;
66 void setConverted(bool c);
68 void freeze(bool freeze);
72 //Layer & operator=(const Layer & l);
74 friend std::ostream & operator<<(std::ostream & os, const Layer & l);
76 //friend class LayerList;