Text alignment mode.
More...
#include <GREM/graphics_2d/Text2D.hpp>
◆ NONE
Initial value:{
}
@ NONE
No horizontal alignment.
Definition Text2D.hpp:26
@ NONE
No vertical alignment.
Definition Text2D.hpp:40
No alignment.
◆ FIRST_LINE_START_TOP
| TextAlign grem::graphics::TextAlign::FIRST_LINE_START_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ FIRST_LINE_START
Align to the start of the first glyph in the first line of the text.
Definition Text2D.hpp:27
@ FIRST_LINE_TOP
Align to the ascender of the first line in the text.
Definition Text2D.hpp:41
Align to the start of the first line's ascender.
◆ FIRST_LINE_START_BASE
| TextAlign grem::graphics::TextAlign::FIRST_LINE_START_BASE |
|
inlinestaticconstexpr |
Initial value:{
}
@ FIRST_LINE_BASE
Align to the baseline of the first line in the text.
Definition Text2D.hpp:42
Align to the start of the first line's baseline.
◆ FIRST_LINE_END_TOP
| TextAlign grem::graphics::TextAlign::FIRST_LINE_END_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ FIRST_LINE_END
Align to the end of the last glyph in the first line of the text.
Definition Text2D.hpp:28
Align to the end of the first line's ascender.
◆ FIRST_LINE_END_BASE
| TextAlign grem::graphics::TextAlign::FIRST_LINE_END_BASE |
|
inlinestaticconstexpr |
Initial value:
Align to the end of the first line's baseline.
◆ LAST_LINE_START_TOP
| TextAlign grem::graphics::TextAlign::LAST_LINE_START_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ LAST_LINE_START
Align to the start of the first glyph in the last line of the text.
Definition Text2D.hpp:29
@ LAST_LINE_TOP
Align to the ascender of the last line in the text.
Definition Text2D.hpp:43
Align to the start of the last line's ascender.
◆ LAST_LINE_START_BASE
| TextAlign grem::graphics::TextAlign::LAST_LINE_START_BASE |
|
inlinestaticconstexpr |
Initial value:{
}
@ LAST_LINE_BASE
Align to the baseline of the last line in the text.
Definition Text2D.hpp:44
Align to the start of the last line's baseline.
◆ LAST_LINE_END_TOP
| TextAlign grem::graphics::TextAlign::LAST_LINE_END_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ LAST_LINE_END
Align to the end of the last glyph in the last line of the text.
Definition Text2D.hpp:30
Align to the end of the last line's ascender.
◆ LAST_LINE_END_BASE
| TextAlign grem::graphics::TextAlign::LAST_LINE_END_BASE |
|
inlinestaticconstexpr |
Initial value:
Align to the end of the last line's baseline.
◆ CENTER_HORIZONTALLY_FIRST_LINE_TOP
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_FIRST_LINE_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ CENTER
Align to the horizontal center of the bounding box of the text.
Definition Text2D.hpp:32
Align to the horizontal center of the bounding box on the first line's ascender.
◆ CENTER_HORIZONTALLY_FIRST_LINE_BASE
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_FIRST_LINE_BASE |
|
inlinestaticconstexpr |
Initial value:
Align to the horizontal center of the bounding box on the first line's baseline.
◆ CENTER_HORIZONTALLY_LAST_LINE_TOP
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_LAST_LINE_TOP |
|
inlinestaticconstexpr |
Initial value:
Align to the horizontal center of the bounding box on the last line's ascender.
◆ CENTER_HORIZONTALLY_LAST_LINE_BASE
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_LAST_LINE_BASE |
|
inlinestaticconstexpr |
Initial value:
Align to the horizontal center of the bounding box on the last line's baseline.
◆ CENTER
Initial value:{
}
@ CENTER
Align to the vertical center of the bounding box of the text.
Definition Text2D.hpp:46
Align to the center of the bounding box of the text.
◆ CENTER_HORIZONTALLY
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY |
|
inlinestaticconstexpr |
Initial value:
Align to the horizontal center of the bounding box of the text.
◆ CENTER_VERTICALLY
| TextAlign grem::graphics::TextAlign::CENTER_VERTICALLY |
|
inlinestaticconstexpr |
Initial value:
Align to the vertical center of the bounding box of the text.
◆ CENTER_HORIZONTALLY_BOTTOM
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_BOTTOM |
|
inlinestaticconstexpr |
Initial value:{
}
@ BOTTOM
Align to the bottom of the bounding box of the text.
Definition Text2D.hpp:45
Align to the bottom center of the bounding box of the text.
◆ CENTER_HORIZONTALLY_TOP
| TextAlign grem::graphics::TextAlign::CENTER_HORIZONTALLY_TOP |
|
inlinestaticconstexpr |
Initial value:{
}
@ TOP
Align to the top of the bounding box of the text.
Definition Text2D.hpp:47
Align to the top center of the bounding box of the text.
◆ CENTER_VERTICALLY_LEFT
| TextAlign grem::graphics::TextAlign::CENTER_VERTICALLY_LEFT |
|
inlinestaticconstexpr |
Initial value:{
}
@ LEFT
Align to the left of the bounding box of the text.
Definition Text2D.hpp:31
Align to the left center of the bounding box of the text.
◆ CENTER_VERTICALLY_RIGHT
| TextAlign grem::graphics::TextAlign::CENTER_VERTICALLY_RIGHT |
|
inlinestaticconstexpr |
Initial value:{
}
@ RIGHT
Align to the right of the bounding box of the text.
Definition Text2D.hpp:33
Align to the right center of the bounding box of the text.
◆ LEFT
Initial value:
Align to the left of the bounding box of the text.
◆ RIGHT
Initial value:
Align to the right of the bounding box of the text.
◆ BOTTOM
Initial value:
Align to the bottom of the bounding box of the text.
◆ TOP
Initial value:
Align to the top of the bounding box of the text.
◆ horizontal
Horizontal alignment mode.
◆ vertical
The documentation for this struct was generated from the following file: