A Text may contain 1 or more Text Elements. More...
#include <Text.h>
Public Member Functions | |
| void | add (Element *element) |
| It adds the element. More... | |
| Text * | clone () |
| It clones the Text. More... | |
| const std::vector< Element * > & | getElements () const |
| It returns the elements. More... | |
| const te::gm::Envelope & | getEnvelope () |
| It returns the envelope. More... | |
| void | setElements (const std::vector< Element * > elements) |
| It sets the elements. More... | |
| void | setEnvelope (const te::gm::Envelope &envelope) |
| It sets the envelope. More... | |
| Text () | |
| Text constructor. More... | |
| ~Text () | |
| Text destructor. More... | |
Not Allowed Methods | |
| te::gm::Envelope | m_envelope |
| std::vector< Element * > | m_elements |
| Text (const Text &rhs) | |
| No copy constructor allowed. More... | |
| Text & | operator= (const Text &rhs) |
| No assignment operator allowed. More... | |
| te::at::Text::Text | ( | ) |
| te::at::Text::~Text | ( | ) |
Text destructor.
Definition at line 48 of file Text.cpp.
References te::common::FreeContents(), and m_elements.
|
private |
No copy constructor allowed.
| rhs | The other Text. |
Definition at line 35 of file Text.cpp.
References m_elements, and m_envelope.
| void te::at::Text::add | ( | Element * | element | ) |
It adds the element.
| element | The element to be added. |
Definition at line 80 of file Text.cpp.
References m_elements.
Referenced by TsCanvas::tcPerformance().
| te::at::Text * te::at::Text::clone | ( | ) |
It clones the Text.
Definition at line 54 of file Text.cpp.
References m_elements, m_envelope, setElements(), setEnvelope(), and Text().
| const std::vector< te::at::Element * > & te::at::Text::getElements | ( | ) | const |
It returns the elements.
Definition at line 85 of file Text.cpp.
References m_elements.
Referenced by te::ag::Canvas::draw().
| const te::gm::Envelope & te::at::Text::getEnvelope | ( | ) |
It returns the envelope.
Definition at line 67 of file Text.cpp.
References m_envelope.
|
private |
No assignment operator allowed.
| rhs | The other Text. |
Definition at line 41 of file Text.cpp.
References m_elements, and m_envelope.
| void te::at::Text::setElements | ( | const std::vector< Element * > | elements | ) |
It sets the elements.
| envelope | The envelope. |
Definition at line 72 of file Text.cpp.
References te::common::FreeContents(), and m_elements.
Referenced by clone().
| void te::at::Text::setEnvelope | ( | const te::gm::Envelope & | envelope | ) |
It sets the envelope.
| envelope | The envelope. |
Definition at line 62 of file Text.cpp.
References m_envelope.
Referenced by clone().
|
private |
Definition at line 135 of file Text.h.
Referenced by add(), clone(), getElements(), operator=(), setElements(), Text(), and ~Text().
|
private |
Definition at line 134 of file Text.h.
Referenced by clone(), getEnvelope(), operator=(), setEnvelope(), and Text().