Castor3D 0.16.0
Multiplatform 3D engine
|
A text chars container, along with its size and position. More...
#include <OverlayModule.hpp>
Public Member Functions | |
auto | chars (castor::Array< TextChar, MaxCharsPerOverlay > &cont) const |
Public Attributes | |
castor::Point2f | range {} |
float | left {} |
float | width {} |
uint32_t | charBegin {} |
uint32_t | charEnd {} |
uint32_t | line {} |
uint32_t | pad {} |
A text chars container, along with its size and position.
|
inline |
References charBegin, charEnd, and castor::makeArrayView().
uint32_t castor3d::TextWord::charBegin {} |
The index of the beginning of the word.
Referenced by chars().
uint32_t castor3d::TextWord::charEnd {} |
The index of the end of the word.
Referenced by chars().
float castor3d::TextWord::left {} |
The word position.
uint32_t castor3d::TextWord::line {} |
The index of the line holding this word.
uint32_t castor3d::TextWord::pad {} |
castor::Point2f castor3d::TextWord::range {} |
The y range, relative to bearing.
float castor3d::TextWord::width {} |
The word width.