Blender  V2.93
Public Attributes | List of all members
uiFontStyle Struct Reference

#include <DNA_userdef_types.h>

Public Attributes

short uifont_id
 
short points
 
short kerning
 
short italic
 
short bold
 
short shadow
 
short shadx
 
short shady
 
float shadowalpha
 
float shadowcolor
 

Detailed Description

This state defines appearance of text.

Definition at line 69 of file DNA_userdef_types.h.

Member Data Documentation

◆ bold

short uiFontStyle::bold

Definition at line 77 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ italic

short uiFontStyle::italic

Style hint.

Definition at line 77 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ kerning

short uiFontStyle::kerning

◆ points

short uiFontStyle::points

◆ shadow

short uiFontStyle::shadow

Value is amount of pixels blur.

Definition at line 79 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().

◆ shadowalpha

float uiFontStyle::shadowalpha

Total alpha.

Definition at line 83 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().

◆ shadowcolor

float uiFontStyle::shadowcolor

1 value, typically white or black anyway.

Definition at line 85 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), and ui_style_new().

◆ shadx

short uiFontStyle::shadx

Shadow offset in pixels.

Definition at line 81 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex(), UI_fontstyle_draw_rotated(), UI_style_get_dpi(), and ui_style_new().

◆ shady

short uiFontStyle::shady

◆ uifont_id

short uiFontStyle::uifont_id

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