Blender V4.3
uiFontStyle Struct Reference

#include <DNA_userdef_types.h>

Public Attributes

short uifont_id
 
char _pad1 [2]
 
float points
 
short italic
 
short bold
 
short shadow
 
short shadx
 
short shady
 
char _pad0 [2]
 
float shadowalpha
 
float shadowcolor
 
int character_weight
 

Detailed Description

This state defines appearance of text.

Definition at line 65 of file DNA_userdef_types.h.

Member Data Documentation

◆ _pad0

char uiFontStyle::_pad0[2]

Definition at line 77 of file DNA_userdef_types.h.

◆ _pad1

char uiFontStyle::_pad1[2]

Definition at line 68 of file DNA_userdef_types.h.

◆ bold

short uiFontStyle::bold

Definition at line 72 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ character_weight

int uiFontStyle::character_weight

Weight class 100-900, 400 is normal.

Definition at line 83 of file DNA_userdef_types.h.

Referenced by fontstyle_set_ex(), ui_style_new(), and UI_update_text_styles().

◆ italic

short uiFontStyle::italic

Style hint.

Definition at line 72 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ points

◆ shadow

short uiFontStyle::shadow

Value is amount of pixels blur.

Definition at line 74 of file DNA_userdef_types.h.

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

◆ shadowalpha

float uiFontStyle::shadowalpha

Total alpha.

Definition at line 79 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 81 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 76 of file DNA_userdef_types.h.

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

◆ shady

short uiFontStyle::shady

◆ uifont_id


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