Public Attributes | List of all members
drgui_font Struct Reference

#include <dr_gui.h>

Public Attributes

char family [DRGUI_MAX_FONT_FAMILY_LENGTH]
 The font family. More...
 
unsigned int flags
 
drgui_resource internalFont
 The internal font. This is created by the rendering backend. More...
 
drgui_contextpContext
 A pointer to the context that owns this font. More...
 
float rotation
 The fon't rotation. More...
 
unsigned int size
 The base size of the font. This is set to the value that was used to create the font in the first place. More...
 
drgui_font_slant slant
 The fon't slant. More...
 
drgui_font_weight weight
 The font's weight. More...
 

Detailed Description

Definition at line 615 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

Member Data Documentation

◆ family

char drgui_font::family

The font family.

Definition at line 621 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ flags

unsigned int drgui_font::flags

The font's flags. Can be a combination of the following: DRGUI_FONT_NO_CLEARTYPE

Definition at line 637 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ internalFont

drgui_resource drgui_font::internalFont

The internal font. This is created by the rendering backend.

Definition at line 640 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ pContext

drgui_context * drgui_font::pContext

A pointer to the context that owns this font.

Definition at line 618 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ rotation

float drgui_font::rotation

The fon't rotation.

Definition at line 633 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ size

unsigned int drgui_font::size

The base size of the font. This is set to the value that was used to create the font in the first place.

Definition at line 624 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ slant

drgui_font_slant drgui_font::slant

The fon't slant.

Definition at line 630 of file porcupine/demo/c/dr_libs/old/dr_gui.h.

◆ weight

drgui_font_weight drgui_font::weight

The font's weight.

Definition at line 627 of file porcupine/demo/c/dr_libs/old/dr_gui.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19