Blender  V3.3
Public Attributes | List of all members
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
 
char _pad2 [4]
 

Detailed Description

This state defines appearance of text.

Definition at line 56 of file DNA_userdef_types.h.

Member Data Documentation

◆ _pad0

char uiFontStyle::_pad0[2]

Definition at line 68 of file DNA_userdef_types.h.

◆ _pad1

char uiFontStyle::_pad1[2]

Definition at line 59 of file DNA_userdef_types.h.

◆ _pad2

char uiFontStyle::_pad2[4]

Definition at line 73 of file DNA_userdef_types.h.

◆ bold

short uiFontStyle::bold

Definition at line 63 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ italic

short uiFontStyle::italic

Style hint.

Definition at line 63 of file DNA_userdef_types.h.

Referenced by UI_fontstyle_draw_ex().

◆ points

float uiFontStyle::points

◆ shadow

short uiFontStyle::shadow

Value is amount of pixels blur.

Definition at line 65 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 70 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 72 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 67 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: