45 VectorItem(
unsigned color = 0,
double x0 = 0,
double y0 = 0,
46 double length = 1,
double dir = 0,
double relSize = 1);
52 VectorItem(
const KConfigGroup* plo,
unsigned color = 0);
56 inline double dir()
const {
return m_dir; };
58 inline double length()
const {
return m_length; };
63 inline void setDir(
double dir) { m_dir = dir; };
68 inline void setLength(
double length) { m_length = length; };
74 void writePlo(KConfigGroup* plo,
bool visible)
const;
77 double m_length, m_dir;
void setDir(double dir)
Sets rotation angle.
Definition: vectoritem.h:63
double dir() const
Returns rotation angle in deg.
Definition: vectoritem.h:56
void writePlo(KConfigGroup *plo, bool visible) const
Writes into plot file.
double length() const
Returns length in cm.
Definition: vectoritem.h:58
Decoration item class.
Definition: decoitem.h:35
Vector item class.
Definition: vectoritem.h:33
void setLength(double length)
Sets length.
Definition: vectoritem.h:68