Public Types | |
typedef boost::shared_ptr < WhiteboardLineElement > | ref |
Public Member Functions | |
WhiteboardLineElement (int x1, int y1, int x2, int y2) | |
int | x1 () const |
int | y1 () const |
int | x2 () const |
int | y2 () const |
const WhiteboardColor & | getColor () const |
void | setColor (const WhiteboardColor &color) |
int | getPenWidth () const |
void | setPenWidth (const int penWidth) |
void | accept (WhiteboardElementVisitor &visitor) |
const std::string & | getID () const |
void | setID (const std::string &id) |
Definition at line 13 of file WhiteboardLineElement.h.
typedef boost::shared_ptr<WhiteboardLineElement> Swift::WhiteboardLineElement::ref |
Reimplemented from Swift::WhiteboardElement.
Definition at line 15 of file WhiteboardLineElement.h.
Swift::WhiteboardLineElement::WhiteboardLineElement | ( | int | x1, | |
int | y1, | |||
int | x2, | |||
int | y2 | |||
) | [inline] |
Definition at line 17 of file WhiteboardLineElement.h.
void Swift::WhiteboardLineElement::accept | ( | WhiteboardElementVisitor & | visitor | ) | [inline, virtual] |
Implements Swift::WhiteboardElement.
Definition at line 56 of file WhiteboardLineElement.h.
References Swift::WhiteboardElementVisitor::visit().
const WhiteboardColor& Swift::WhiteboardLineElement::getColor | ( | ) | const [inline] |
Definition at line 40 of file WhiteboardLineElement.h.
const std::string& Swift::WhiteboardElement::getID | ( | ) | const [inline, inherited] |
Definition at line 21 of file WhiteboardElement.h.
int Swift::WhiteboardLineElement::getPenWidth | ( | ) | const [inline] |
Definition at line 48 of file WhiteboardLineElement.h.
void Swift::WhiteboardLineElement::setColor | ( | const WhiteboardColor & | color | ) | [inline] |
Definition at line 44 of file WhiteboardLineElement.h.
void Swift::WhiteboardElement::setID | ( | const std::string & | id | ) | [inline, inherited] |
Definition at line 25 of file WhiteboardElement.h.
void Swift::WhiteboardLineElement::setPenWidth | ( | const int | penWidth | ) | [inline] |
Definition at line 52 of file WhiteboardLineElement.h.
int Swift::WhiteboardLineElement::x1 | ( | ) | const [inline] |
Definition at line 24 of file WhiteboardLineElement.h.
int Swift::WhiteboardLineElement::x2 | ( | ) | const [inline] |
Definition at line 32 of file WhiteboardLineElement.h.
int Swift::WhiteboardLineElement::y1 | ( | ) | const [inline] |
Definition at line 28 of file WhiteboardLineElement.h.
int Swift::WhiteboardLineElement::y2 | ( | ) | const [inline] |
Definition at line 36 of file WhiteboardLineElement.h.