#include <utility/YiGeometryBatch.h>
Public Member Functions | |
| TextSettings () | |
Public Attributes | |
| glm::vec2 | position |
| The top-left position at which text should be rendered. Defaults to (0.0, 0.0) More... | |
| CYIColor | color |
| The text color. Defaults to white. More... | |
| float | fScale |
| The text scale. Defaults to 1.0. More... | |
| YI_TEXT_STYLE | eStyle |
| The text style. Defaults to YI_TEXT_STYLE_NORMAL. More... | |
| charACTER_SET | eCharacterSet |
| The character set. If YI_UTF8, the text is intepreted as UTF-8 code points. If YI_CODE_PAGE_437, the text is interpreted as bytes repesenting Code Page 437 values. Defaults to YI_UTF8. More... | |
| YI_WRAP_MODE | eWrapMode |
| The text wrapping mode. Defaults to YI_WRAP_NONE. More... | |
| float | fWrappingWidth |
| The text wrapping width. Used only when eWrapMode is not YI_WRAP_NONE. Defaults to 0.0. More... | |
| CYIGeometryBatch::TextSettings::TextSettings | ( | ) |
| CYIColor CYIGeometryBatch::TextSettings::color |
The text color. Defaults to white.
| charACTER_SET CYIGeometryBatch::TextSettings::eCharacterSet |
The character set. If YI_UTF8, the text is intepreted as UTF-8 code points. If YI_CODE_PAGE_437, the text is interpreted as bytes repesenting Code Page 437 values. Defaults to YI_UTF8.
| YI_TEXT_STYLE CYIGeometryBatch::TextSettings::eStyle |
The text style. Defaults to YI_TEXT_STYLE_NORMAL.
| YI_WRAP_MODE CYIGeometryBatch::TextSettings::eWrapMode |
The text wrapping mode. Defaults to YI_WRAP_NONE.
| float CYIGeometryBatch::TextSettings::fScale |
The text scale. Defaults to 1.0.
| float CYIGeometryBatch::TextSettings::fWrappingWidth |
The text wrapping width. Used only when eWrapMode is not YI_WRAP_NONE. Defaults to 0.0.
| glm::vec2 CYIGeometryBatch::TextSettings::position |
The top-left position at which text should be rendered. Defaults to (0.0, 0.0)