You.i Engine
CYIGeometryBatch::TextSize Struct Reference

#include <utility/YiGeometryBatch.h>

Public Attributes

glm::vec2 characterSize
 The size of single character. More...
 
glm::vec2 boxSize
 The tight fit of the size of the text, taking line breaks into consideration. More...
 
glm::vec2 lastCharacterBottomRight
 The position of the bottom right corner of the last rendered character. Affected by the draw position. More...
 

Member Data Documentation

glm::vec2 CYIGeometryBatch::TextSize::boxSize

The tight fit of the size of the text, taking line breaks into consideration.

glm::vec2 CYIGeometryBatch::TextSize::characterSize

The size of single character.

glm::vec2 CYIGeometryBatch::TextSize::lastCharacterBottomRight

The position of the bottom right corner of the last rendered character. Affected by the draw position.


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