QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RPatternLine.h
Go to the documentation of this file.
1 
20 #ifndef RPATTERNLINE_H
21 #define RPATTERNLINE_H
22 
23 #include "core_global.h"
24 
25 #include "RLine.h"
26 #include "RPainterPath.h"
27 #include "RVector.h"
28 
29 
38 public:
39  double angle;
42  QList<double> dashes;
43 
44  RPainterPath getPainterPath() const;
45  QList<RLine> getLines() const;
46  double getLength() const;
47  void scale(double f);
48  void rotate(double a);
49 };
50 
51 QCADCORE_EXPORT QDebug operator<<(QDebug dbg, const RPatternLine& p);
52 
55 
56 #endif