Blender  V3.3
Public Attributes | List of all members
FontBLF Struct Reference

#include <blf_internal_types.h>

Public Attributes

char * name
 
unsigned int reference_count
 
char * filepath
 
uint UnicodeRanges [4]
 
float aspect [3]
 
int pos [3]
 
float angle
 
int shadow
 
int shadow_x
 
int shadow_y
 
unsigned char shadow_color [4]
 
unsigned char color [4]
 
float m [16]
 
rcti clip_rec
 
int wrap_width
 
unsigned int dpi
 
float size
 
FT_MM_Var * variations
 
float char_weight
 
float char_slant
 
float char_width
 
float char_spacing
 
int tex_size_max
 
int flags
 
ListBase cache
 
KerningCacheBLFkerning_cache
 
FT_Library ft_lib
 
SpinLockft_lib_mutex
 
FT_Face face
 
FontBufInfoBLF buf_info
 
SpinLockglyph_cache_mutex
 

Detailed Description

Definition at line 236 of file blf_internal_types.h.

Member Data Documentation

◆ angle

float FontBLF::angle

Definition at line 258 of file blf_internal_types.h.

Referenced by blf_draw_gl__start(), blf_font_fill(), and BLF_rotation().

◆ aspect

float FontBLF::aspect[3]

◆ buf_info

FontBufInfoBLF FontBLF::buf_info

◆ cache

ListBase FontBLF::cache

List of glyph caches (GlyphCacheBLF) for this font for size, DPI, bold, italic. Use blf_glyph_cache_acquire(font) and blf_glyph_cache_release(font) to access cache!

Definition at line 314 of file blf_internal_types.h.

Referenced by blf_font_fill(), blf_glyph_cache_clear(), blf_glyph_cache_find(), and blf_glyph_cache_new().

◆ char_slant

float FontBLF::char_slant

◆ char_spacing

float FontBLF::char_spacing

◆ char_weight

float FontBLF::char_weight

◆ char_width

float FontBLF::char_width

◆ clip_rec

rcti FontBLF::clip_rec

Definition at line 284 of file blf_internal_types.h.

Referenced by BLF_clipping(), blf_font_fill(), and blf_glyph_draw().

◆ color

unsigned char FontBLF::color[4]

◆ dpi

unsigned int FontBLF::dpi

◆ face

FT_Face FontBLF::face

◆ filepath

char* FontBLF::filepath

File-path or NULL.

Definition at line 244 of file blf_internal_types.h.

Referenced by blf_font_free(), blf_font_new(), and blf_font_new_from_mem().

◆ flags

int FontBLF::flags

◆ ft_lib

FT_Library FontBLF::ft_lib

Definition at line 320 of file blf_internal_types.h.

Referenced by blf_font_fill(), and blf_glyph_render_bitmap().

◆ ft_lib_mutex

SpinLock* FontBLF::ft_lib_mutex

Definition at line 323 of file blf_internal_types.h.

Referenced by blf_font_fill(), and blf_glyph_ensure().

◆ glyph_cache_mutex

SpinLock* FontBLF::glyph_cache_mutex

◆ kerning_cache

KerningCacheBLF* FontBLF::kerning_cache

◆ m

float FontBLF::m[16]

Definition at line 281 of file blf_internal_types.h.

Referenced by blf_draw_gl__start(), blf_font_fill(), and BLF_matrix().

◆ name

char* FontBLF::name

◆ pos

int FontBLF::pos[3]

◆ reference_count

unsigned int FontBLF::reference_count

◆ shadow

int FontBLF::shadow

Definition at line 266 of file blf_internal_types.h.

Referenced by blf_glyph_draw(), and BLF_shadow().

◆ shadow_color

unsigned char FontBLF::shadow_color[4]

Definition at line 273 of file blf_internal_types.h.

Referenced by blf_glyph_draw(), and BLF_shadow().

◆ shadow_x

int FontBLF::shadow_x

Definition at line 269 of file blf_internal_types.h.

Referenced by blf_glyph_calc_rect_shadow(), and BLF_shadow_offset().

◆ shadow_y

int FontBLF::shadow_y

Definition at line 270 of file blf_internal_types.h.

Referenced by blf_glyph_calc_rect_shadow(), and BLF_shadow_offset().

◆ size

float FontBLF::size

◆ tex_size_max

int FontBLF::tex_size_max

Definition at line 305 of file blf_internal_types.h.

Referenced by blf_font_fill(), and blf_glyph_draw().

◆ UnicodeRanges

uint FontBLF::UnicodeRanges[4]

Definition at line 249 of file blf_internal_types.h.

Referenced by blf_font_has_coverage_bit(), and blf_font_new().

◆ variations

FT_MM_Var* FontBLF::variations

◆ wrap_width

int FontBLF::wrap_width

Definition at line 287 of file blf_internal_types.h.

Referenced by blf_font_wrap_apply(), and BLF_wordwrap().


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