Chemical Data Processing Library C++ API - Version 1.1.1
|
Provides flags that are used to specify the 2D alignment of graphical objects within a bounded rectangular area. More...
Variables | |
const unsigned int | NONE = 0 |
Specifies that an object has no special alignment. More... | |
const unsigned int | LEFT = 0x1 |
Specifies an alignment to the left. More... | |
const unsigned int | RIGHT = 0x2 |
Specifies an alignment to the right. More... | |
const unsigned int | H_CENTER = LEFT | RIGHT |
Specifies that an object has to be centered horizontally. More... | |
const unsigned int | H_ALIGNMENT_MASK = H_CENTER |
A bitmask for all horizontal alignment flags. More... | |
const unsigned int | TOP = 0x4 |
Specifies an alignment to the top. More... | |
const unsigned int | BOTTOM = 0x8 |
Specifies an alignment to the bottom. More... | |
const unsigned int | V_CENTER = TOP | BOTTOM |
Specifies that an object has to be centered vertically. More... | |
const unsigned int | V_ALIGNMENT_MASK = V_CENTER |
A bitmask for all vertical alignment flags. More... | |
const unsigned int | CENTER = H_CENTER | V_CENTER |
Specifies that an object has to be centered horizontally and vertically. More... | |
Provides flags that are used to specify the 2D alignment of graphical objects within a bounded rectangular area.
The flags may be combined by a bitwise OR operation to specify a composite alignment for both directions. For example: (Alignment::RIGHT | Alignment::BOTTOM)
specifies an alignment to the bottom-right corner.
const unsigned int CDPL::Vis::Alignment::NONE = 0 |
Specifies that an object has no special alignment.
const unsigned int CDPL::Vis::Alignment::LEFT = 0x1 |
Specifies an alignment to the left.
const unsigned int CDPL::Vis::Alignment::RIGHT = 0x2 |
Specifies an alignment to the right.
Specifies that an object has to be centered horizontally.
const unsigned int CDPL::Vis::Alignment::H_ALIGNMENT_MASK = H_CENTER |
A bitmask for all horizontal alignment flags.
const unsigned int CDPL::Vis::Alignment::TOP = 0x4 |
Specifies an alignment to the top.
const unsigned int CDPL::Vis::Alignment::BOTTOM = 0x8 |
Specifies an alignment to the bottom.
Specifies that an object has to be centered vertically.
const unsigned int CDPL::Vis::Alignment::V_ALIGNMENT_MASK = V_CENTER |
A bitmask for all vertical alignment flags.