You.i Engine
CYITextSceneNode::YI_TEXT_STYLE_DEF Struct Reference

#include <scenetree/YiTextSceneNode.h>

Public Member Functions

bool operator== (const YI_TEXT_STYLE_DEF &other) const
bool operator!= (const YI_TEXT_STYLE_DEF &other) const

Public Attributes

ssize_t m_fontID
int32_t m_fontSize
int32_t m_leading
bool m_isAllCaps
CYITextEngine::LineStyle m_textLineStyle
CYITextEngine::ScriptMode m_scriptMode
int32_t m_baselineShift
int32_t m_tracking
int32_t m_kerning
CYIColor m_Color
size_t m_lastCodepointIndex

Constructor & Destructor Documentation



Member Function Documentation

◆ operator!=()

bool CYITextSceneNode::YI_TEXT_STYLE_DEF::operator!= ( const YI_TEXT_STYLE_DEF other) const

◆ operator==()

bool CYITextSceneNode::YI_TEXT_STYLE_DEF::operator== ( const YI_TEXT_STYLE_DEF other) const

Member Data Documentation

◆ m_baselineShift

int32_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_baselineShift

Baseline shift in pixels.

◆ m_Color

CYIColor CYITextSceneNode::YI_TEXT_STYLE_DEF::m_Color

◆ m_fontID

ssize_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_fontID

Unique id for the associated font.

◆ m_fontSize

int32_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_fontSize

The size of the font in pixels.

◆ m_isAllCaps

bool CYITextSceneNode::YI_TEXT_STYLE_DEF::m_isAllCaps

Capitalization style flag.

◆ m_kerning

int32_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_kerning

Spacing between characters in 1/1000 em units.

◆ m_lastCodepointIndex

size_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_lastCodepointIndex

Last code point index within a styling block. This is the index of the first character to which this style should not apply. The last code point index of the last style run must be std::numeric_limits<size_t>::max().

◆ m_leading

int32_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_leading

The leading size in pixels.

◆ m_scriptMode

CYITextEngine::ScriptMode CYITextSceneNode::YI_TEXT_STYLE_DEF::m_scriptMode

Subscript, superscript, etc.

See also

◆ m_textLineStyle

CYITextEngine::LineStyle CYITextSceneNode::YI_TEXT_STYLE_DEF::m_textLineStyle

Underline, strikethrough, overline

◆ m_tracking

int32_t CYITextSceneNode::YI_TEXT_STYLE_DEF::m_tracking

Proportinal spacing between characters in 1/1000 em units.

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