Représentation de toutes les caractéristiques d'une figure. More...
#include "cogitant/display/context.h"
Public Types | |
| enum | Style { RECTANGLE =0, ROUNDRECTANGLE, ELLIPSE, LINE, POLYGON, TEXT, UNDEFINED_FIGURE } |
| Style de figure. More... | |
| typedef unsigned char | Depth |
| Profondeur de la figure. More... | |
Public Member Functions | |
| Figure () | |
| Constructeur. More... | |
Public Member Functions inherited from cogitant::CogitantObject | |
| CogitantObject () | |
| Constructeur. More... | |
| CogitantObject (CogitantObject const &o) | |
| Constructeur par recopie. More... | |
| virtual | ~CogitantObject () |
| Destructeur. More... | |
| PropertySet * | properties () |
| Accès à l'ensemble des propriétés. More... | |
| virtual std::string | toString () const |
| Transformation en chaîne de caractères. More... | |
| std::string | className () const |
| Nom de la classe. More... | |
| PropertySet const * | properties () const |
| Accès en lecture seule à l'ensemble des propriétés. More... | |
| bool | hasProperties () const |
| Existence de propriétés. More... | |
| CogitantObject & | operator= (CogitantObject const &ob) |
| Affectation. More... | |
Public Attributes | |
| Style | m_style |
| Style. | |
| std::vector< Point > | m_coords |
| Coordonnées. | |
| Pen | m_pen |
| Pinceau (utilisé pour le pourtour). | |
| Brush | m_brush |
| Brosse (utilisée pour le remplissage). | |
| Font | m_font |
| Police (utilisée pour le texte). | |
| std::string | m_text |
| Texte. | |
| Position | m_textpos |
| Position du texte. | |
| iFigure | m_idparent |
| Identificateur de la figure parent. | |
| std::vector< iFigure > | m_idlinked |
| Identificateurs des figures liées. | |
| Depth | m_depth |
| Profondeur. | |
Additional Inherited Members | |
Protected Member Functions inherited from cogitant::CogitantObject | |
| virtual PropertySet * | allocProperties () const |
| Fonction créant l'instance d'une sous classe de PropertySet pour la représentation des propriétés de l'objet. More... | |
Représentation de toutes les caractéristiques d'une figure.
| typedef unsigned char cogitantdisplay::Figure::Depth |
Profondeur de la figure.
Plus la profondeur est basse, plus l'objet est "devant". La profondeur par défaut est 200.
| cogitantdisplay::Figure::Figure | ( | ) |
Constructeur.