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 | ( | ) | 
      
  | 
  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 | ) | 
| te::at::Text * te::at::Text::clone | ( | ) | 
It clones the Text.
Definition at line 54 of file Text.cpp.
References setElements(), and setEnvelope().
| const std::vector< te::at::Element * > & te::at::Text::getElements | ( | ) | const | 
It returns the elements.
Definition at line 85 of file Text.cpp.
Referenced by te::qt::widgets::Canvas::draw(), and te::ag::Canvas::draw().
| const te::gm::Envelope & te::at::Text::getEnvelope | ( | ) | 
      
  | 
  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().
Referenced by clone().
| void te::at::Text::setEnvelope | ( | const te::gm::Envelope & | envelope | ) | 
      
  | 
  private | 
Definition at line 135 of file Text.h.
Referenced by operator=(), and Text().
      
  | 
  private | 
Definition at line 134 of file Text.h.
Referenced by operator=(), and Text().