Magnum/Text/Alignment.h file

Enum Magnum::Text::Alignment, function Magnum::Text::alignmentForDirection()

Namespaces

namespace Magnum
Root namespace.
namespace Magnum::Text
Text rendering.

Enums

enum class Alignment: UnsignedByte { LineLeft = Implementation::AlignmentLine|Implementation::AlignmentLeft, LineLeftGlyphBounds = LineLeft|Implementation::AlignmentGlyphBounds new in Git master, LineCenter = Implementation::AlignmentLine|Implementation::AlignmentCenter, LineCenterIntegral = LineCenter|Implementation::AlignmentIntegral, LineCenterGlyphBounds = LineCenter|Implementation::AlignmentGlyphBounds new in Git master, LineCenterGlyphBoundsIntegral = LineCenterGlyphBounds|Implementation::AlignmentIntegral new in Git master, LineRight = Implementation::AlignmentLine|Implementation::AlignmentRight, LineRightGlyphBounds = LineRight|Implementation::AlignmentGlyphBounds new in Git master, LineStart = Implementation::AlignmentLine|Implementation::AlignmentStart new in Git master, LineStartGlyphBounds = LineStart|Implementation::AlignmentGlyphBounds new in Git master, LineEnd = Implementation::AlignmentLine|Implementation::AlignmentEnd new in Git master, LineEndGlyphBounds = LineEnd|Implementation::AlignmentGlyphBounds new in Git master, BottomLeft = Implementation::AlignmentBottom|Implementation::AlignmentLeft new in Git master, BottomLeftGlyphBounds = BottomLeft|Implementation::AlignmentGlyphBounds new in Git master, BottomCenter = Implementation::AlignmentBottom|Implementation::AlignmentCenter new in Git master, BottomCenterIntegral = BottomCenter|Implementation::AlignmentIntegral new in Git master, BottomCenterGlyphBounds = BottomCenter|Implementation::AlignmentGlyphBounds new in Git master, BottomCenterGlyphBoundsIntegral = BottomCenterGlyphBounds|Implementation::AlignmentIntegral new in Git master, BottomRight = Implementation::AlignmentBottom|Implementation::AlignmentRight new in Git master, BottomRightGlyphBounds = BottomRight|Implementation::AlignmentGlyphBounds new in Git master, BottomStart = Implementation::AlignmentBottom|Implementation::AlignmentStart new in Git master, BottomStartGlyphBounds = BottomStart|Implementation::AlignmentGlyphBounds new in Git master, BottomEnd = Implementation::AlignmentBottom|Implementation::AlignmentEnd new in Git master, BottomEndGlyphBounds = BottomEnd|Implementation::AlignmentGlyphBounds new in Git master, MiddleLeft = Implementation::AlignmentMiddle|Implementation::AlignmentLeft, MiddleLeftIntegral = MiddleLeft|Implementation::AlignmentIntegral, MiddleLeftGlyphBounds = MiddleLeft|Implementation::AlignmentGlyphBounds new in Git master, MiddleLeftGlyphBoundsIntegral = MiddleLeftGlyphBounds|Implementation::AlignmentIntegral new in Git master, MiddleCenter = Implementation::AlignmentMiddle|Implementation::AlignmentCenter, MiddleCenterIntegral = MiddleCenter|Implementation::AlignmentIntegral, MiddleCenterGlyphBounds = MiddleCenter|Implementation::AlignmentGlyphBounds new in Git master, MiddleCenterGlyphBoundsIntegral = MiddleCenterGlyphBounds|Implementation::AlignmentIntegral new in Git master, MiddleRight = Implementation::AlignmentMiddle|Implementation::AlignmentRight, MiddleRightIntegral = MiddleRight|Implementation::AlignmentIntegral, MiddleRightGlyphBounds = MiddleRight|Implementation::AlignmentGlyphBounds new in Git master, MiddleRightGlyphBoundsIntegral = MiddleRightGlyphBounds|Implementation::AlignmentIntegral new in Git master, MiddleStart = Implementation::AlignmentMiddle|Implementation::AlignmentStart new in Git master, MiddleStartIntegral = MiddleStart|Implementation::AlignmentIntegral new in Git master, MiddleStartGlyphBounds = MiddleStart|Implementation::AlignmentGlyphBounds new in Git master, MiddleStartGlyphBoundsIntegral = MiddleStartGlyphBounds|Implementation::AlignmentIntegral new in Git master, MiddleEnd = Implementation::AlignmentMiddle|Implementation::AlignmentEnd new in Git master, MiddleEndIntegral = MiddleEnd|Implementation::AlignmentIntegral new in Git master, MiddleEndGlyphBounds = MiddleEnd|Implementation::AlignmentGlyphBounds new in Git master, MiddleEndGlyphBoundsIntegral = MiddleEndGlyphBounds|Implementation::AlignmentIntegral new in Git master, TopLeft = Implementation::AlignmentTop|Implementation::AlignmentLeft, TopLeftGlyphBounds = TopLeft|Implementation::AlignmentGlyphBounds new in Git master, TopCenter = Implementation::AlignmentTop|Implementation::AlignmentCenter, TopCenterIntegral = TopCenter|Implementation::AlignmentIntegral new in Git master, TopCenterGlyphBounds = TopCenter|Implementation::AlignmentGlyphBounds new in Git master, TopCenterGlyphBoundsIntegral = TopCenterGlyphBounds|Implementation::AlignmentIntegral new in Git master, TopRight = Implementation::AlignmentTop|Implementation::AlignmentRight, TopRightGlyphBounds = TopRight|Implementation::AlignmentGlyphBounds new in Git master, TopStart = Implementation::AlignmentTop|Implementation::AlignmentStart new in Git master, TopStartGlyphBounds = TopStart|Implementation::AlignmentGlyphBounds new in Git master, TopEnd = Implementation::AlignmentTop|Implementation::AlignmentEnd new in Git master, TopEndGlyphBounds = TopEnd|Implementation::AlignmentGlyphBounds new in Git master }
Text rendering alignment.

Functions

auto operator<<(Debug& debug, Alignment value) -> Debug&
Debug output operator.
auto alignmentForDirection(Alignment alignment, LayoutDirection layoutDirection, ShapeDirection shapeDirection) -> Alignment new in Git master
Alignment for layout and shape direction.