| GL Studio C++ Runtime API

Public Member Functions | Public Attributes | List of all members
GlsFontBase::FontAttr_t Struct Reference

Attributes of the specific font. More...

`#include <gls_font_base.h>`

Inheritance diagram for GlsFontBase::FontAttr_t:

## Public Member Functions
| FontAttr_t ()

## Public Attributes
std::string | family
| Font family name. Eg. Arial.
std::string | style
| Font style. Eg. Bold.
GLuint | ptSize
| Font point size.
GLuint | descender
| Font descender in positive pixels.
Char_t | firstChar
| First character code in the character set.
Char_t | lastChar
| Last character code in the character set.
GLuint | maxCharHeight
| Maximum character height in pixels.
GLuint | maxCharWidth
| Maximum character width in pixels.
GLint | underlinePos
| Position of the underline for underlined text.
GLuint | underlineSize
| thickness of the underline.

## Detailed Description

Attributes of the specific font.

## Constructor & Destructor Documentation

## ◆ FontAttr_t()

FontAttr_t | ( |  | ) |
| inline

Default constructor to initialize font data to known values

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

- gls_font_base.h