|
libcrn
3.9.5
A document image processing library
|
Graphical element in a space. More...
#include <CRNAltoSpace.hpp>
Inheritance diagram for Space::GraphicalElement:
Collaboration diagram for Space::GraphicalElement:Public Member Functions | |
| GraphicalElement (const GraphicalElement &)=default | |
| GraphicalElement (GraphicalElement &&)=default | |
| virtual | ~GraphicalElement () override |
| GraphicalElement & | operator= (const GraphicalElement &)=default |
| GraphicalElement & | operator= (GraphicalElement &&)=default |
Public Member Functions inherited from Space::Block | |
| Block (const Block &)=delete | |
| Block (Block &&)=default | |
| virtual | ~Block () override |
| Block & | operator= (const Block &)=delete |
| Block & | operator= (Block &&)=default |
| const Id & | GetId () const |
| Returns the id of the element. More... | |
| std::vector< Id > | GetStyles () const |
| Returns the list of style references. More... | |
| void | AddStyle (const Id &styleid) |
| Adds a reference to a style. More... | |
| void | RemoveStyle (const Id &styleid) |
| Removes a reference to a style. More... | |
| int | GetHeight () const |
| Returns the height of the element. More... | |
| void | SetHeight (int i) |
| Sets the height of the element. More... | |
| int | GetWidth () const |
| Returns the width of the element. More... | |
| void | SetWidth (int i) |
| Sets the width of the element. More... | |
| int | GetHPos () const |
| Returns the abscissa of the element. More... | |
| void | SetHPos (int i) |
| Sets the abscissa of the element. More... | |
| int | GetVPos () const |
| Returns the ordinate of the element. More... | |
| void | SetVPos (int i) |
| Sets the ordinate of the element. More... | |
| Option< double > | GetRotation () const |
| Returns the rotation of the object, in degree, counterclockwise. More... | |
| Option< Id > | GetNextId () const |
| Returns the id of the next block. More... | |
Friends | |
| class | Space |
Additional Inherited Members | |
Protected Member Functions inherited from Space::Block | |
| Block (const Element &el) | |
| Constructor. More... | |
| Block (const Element &el, const Id &id_, int x, int y, int w, int h) | |
| Constructor. More... | |
Protected Attributes inherited from Space::Block | |
| Id | id |
Graphical element in a space.
Definition at line 180 of file CRNAltoSpace.hpp.
|
default |
|
default |
|
inlineoverridevirtual |
Definition at line 185 of file CRNAltoSpace.hpp.
|
default |
|
default |
|
friend |
Definition at line 195 of file CRNAltoSpace.hpp.
1.8.6