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 | words (OverlayWords &cont) const |
auto | chars (castor::Array< TextChar, MaxCharsPerOverlay > &cont) const |
Public Attributes | |
castor::Point2f | position {} |
castor::Point2f | range {} |
float | width {} |
uint32_t | wordBegin {} |
uint32_t | wordEnd {} |
uint32_t | charBegin {} |
uint32_t | charEnd {} |
uint32_t | pad {} |
A text chars container, along with its size and position.
|
inline |
References charBegin, charEnd, and castor::makeArrayView().
|
inline |
References castor::makeArrayView(), wordBegin, and wordEnd.
uint32_t castor3d::TextLine::charBegin {} |
The index of the beginning of the line.
Referenced by chars().
uint32_t castor3d::TextLine::charEnd {} |
The index of the end of the line.
Referenced by chars().
uint32_t castor3d::TextLine::pad {} |
castor::Point2f castor3d::TextLine::position {} |
The line position.
castor::Point2f castor3d::TextLine::range {} |
The y range, relative to bearing.
float castor3d::TextLine::width {} |
The line width.
uint32_t castor3d::TextLine::wordBegin {} |
The index of the beginning of the line.
Referenced by words().
uint32_t castor3d::TextLine::wordEnd {} |
The index of the end of the line.
Referenced by words().