| GL Studio C++ Runtime API

Public Member Functions | Public Attributes | List of all members
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_t & | operator= (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

  r | The object to copy from.

## Member Function Documentation

## ◆ operator=()

CharAttr_t & operator= | ( | const CharAttr_t & | r | ) |

Assignment operator

Parameters

  r | The object to copy from.

Returns
  The resulting object (this).

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

- gls_text.h