]> Shamusworld >> Repos - architektonas/blob - src/base/rs_pattern.h
Changed RS_Graphic to Drawing; this is less confusing as a drawing is
[architektonas] / src / base / rs_pattern.h
1 #ifndef RS_PATTERN_H
2 #define RS_PATTERN_H
3
4 #include "rs_entitycontainer.h"
5
6 class RS_PatternList;
7
8 /**
9  * Patterns are used for hatches. They are stored in a RS_PatternList.
10  * Use RS_PatternList to access a pattern.
11  *
12  * @author Andrew Mustun
13  */
14 class RS_Pattern: public RS_EntityContainer
15 {
16         public:
17                 RS_Pattern(const QString & fileName);
18                 virtual ~RS_Pattern();
19
20                 virtual bool loadPattern();
21                 QString getFileName() const;
22
23         protected:
24                 //! Pattern file name
25                 QString fileName;
26                 //! Is this pattern currently loaded into memory?
27                 bool loaded;
28 };
29
30 #endif