25 #include <kdemacros.h>
46 VectorItem(
unsigned color = 0,
double x0 = 0,
double y0 = 0,
47 double length = 1,
double dir = 0,
double relSize = 1);
53 VectorItem(
const KConfigGroup* plo,
unsigned color = 0);
57 inline double dir()
const {
return m_dir; };
59 inline double length()
const {
return m_length; };
64 inline void setDir(
double dir) { m_dir = dir; };
69 inline void setLength(
double length) { m_length = length; };
75 void writePlo(KConfigGroup* plo,
bool visible)
const;
78 double m_length, m_dir;
void setDir(double dir)
Sets rotation angle.
Definition: vectoritem.h:64
double dir() const
Returns rotation angle in deg.
Definition: vectoritem.h:57
void writePlo(KConfigGroup *plo, bool visible) const
Writes into plot file.
double length() const
Returns length in cm.
Definition: vectoritem.h:59
Decoration item class.
Definition: decoitem.h:36
Vector item class.
Definition: vectoritem.h:34
void setLength(double length)
Sets length.
Definition: vectoritem.h:69