JustAnotherDnDGame 0.1.0
Jeu de rôle tactique au d20, vue de dessus, en C++/Qt
Loading...
Searching...
No Matches
hmi::TextAnchor Struct Reference

Point d'ancrage d'un texte : quel coin/bord de sa boîte englobante coïncide avec la position passée à hmi::composeText — centrer un texte sans devoir le mesurer soi-même. More...

#include <TextRenderer.h>

Public Attributes

TextHorizontalAnchor horizontal = TextHorizontalAnchor::Left
TextVerticalAnchor vertical = TextVerticalAnchor::Top

Detailed Description

Point d'ancrage d'un texte : quel coin/bord de sa boîte englobante coïncide avec la position passée à hmi::composeText — centrer un texte sans devoir le mesurer soi-même.

Member Data Documentation

◆ horizontal

TextHorizontalAnchor hmi::TextAnchor::horizontal = TextHorizontalAnchor::Left

◆ vertical

TextVerticalAnchor hmi::TextAnchor::vertical = TextVerticalAnchor::Top

The documentation for this struct was generated from the following file:
  • /home/runner/work/JustAnotherDnDGame/JustAnotherDnDGame/Source/HMI/Graphics/TextRenderer.h