Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Public Attributes | List of all members
castor3d::TextWord Struct Reference

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 {}
 

Detailed Description

A text chars container, along with its size and position.

Member Function Documentation

◆ chars()

auto castor3d::TextWord::chars ( castor::Array< TextChar, MaxCharsPerOverlay > & cont) const
inline

References charBegin, charEnd, and castor::makeArrayView().

Here is the call graph for this function:

Member Data Documentation

◆ charBegin

uint32_t castor3d::TextWord::charBegin {}

The index of the beginning of the word.

Referenced by chars().

◆ charEnd

uint32_t castor3d::TextWord::charEnd {}

The index of the end of the word.

Referenced by chars().

◆ left

float castor3d::TextWord::left {}

The word position.

◆ line

uint32_t castor3d::TextWord::line {}

The index of the line holding this word.

◆ pad

uint32_t castor3d::TextWord::pad {}

◆ range

castor::Point2f castor3d::TextWord::range {}

The y range, relative to bearing.

◆ width

float castor3d::TextWord::width {}

The word width.


The documentation for this struct was generated from the following file: