GL Studio C++ Runtime API
GlsText::CharAttr_t Struct Reference

Attributes for each character position in the grid. More...

#include <gls_text.h>

Public Member Functions

 CharAttr_t (const CharAttr_t &r)
 
void Clear ()
 Reset values to their defaults.
 
CharAttr_toperator= (const CharAttr_t &r)
 

Public Attributes

Char_t code
 The code point for this character.
 
float baselineShift
 The base line shift in pixels.
 
GlsColor bgColor
 The background color.
 
GlsColor fgColor
 The foreground (glyph itself) color.
 
bool fauxBold
 Whether or not faux bold is enabled.
 
bool inverse
 Whether or not inverse is enabled.
 
float scale
 Scaled size of this character.
 
float spacing
 Scale of spacing between this character.
 
bool strikeThru
 Whether or not strike through is enabled.
 
bool underline
 Whether or not underline is enabled.
 

Detailed Description

Attributes for each character position in the grid.

Constructor & Destructor Documentation

◆ CharAttr_t()

CharAttr_t ( const CharAttr_t r)

Copy constructor

Parameters
rThe object to copy from.

Member Function Documentation

◆ operator=()

CharAttr_t & operator= ( const CharAttr_t r)

Assignment operator

Parameters
rThe object to copy from.
Returns
The resulting object (this).

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