Blender V4.3
GlyphCacheBLF Struct Reference

#include <blf_internal_types.hh>

Public Member Functions

Glyph Cache
 ~GlyphCacheBLF ()
 

Public Attributes

float size
 
int char_weight
 
float char_slant
 
float char_width
 
float char_spacing
 
bool bold
 
bool italic
 
int fixed_width
 
blender::Map< GlyphCacheKey, std::unique_ptr< GlyphBLF > > glyphs
 
GPUTexture * texture
 
char * bitmap_result
 
int bitmap_len
 
int bitmap_len_landed
 
int bitmap_len_alloc
 

Detailed Description

Definition at line 136 of file blf_internal_types.hh.

Constructor & Destructor Documentation

◆ ~GlyphCacheBLF()

Member Data Documentation

◆ bitmap_len

int GlyphCacheBLF::bitmap_len

Definition at line 157 of file blf_internal_types.hh.

Referenced by blf_batch_cache_texture_load(), and blf_glyph_draw().

◆ bitmap_len_alloc

int GlyphCacheBLF::bitmap_len_alloc

Definition at line 159 of file blf_internal_types.hh.

Referenced by blf_glyph_draw().

◆ bitmap_len_landed

int GlyphCacheBLF::bitmap_len_landed

Definition at line 158 of file blf_internal_types.hh.

Referenced by blf_batch_cache_texture_load(), and blf_glyph_draw().

◆ bitmap_result

char* GlyphCacheBLF::bitmap_result

◆ bold

bool GlyphCacheBLF::bold

Definition at line 145 of file blf_internal_types.hh.

◆ char_slant

float GlyphCacheBLF::char_slant

Definition at line 141 of file blf_internal_types.hh.

◆ char_spacing

float GlyphCacheBLF::char_spacing

Definition at line 143 of file blf_internal_types.hh.

◆ char_weight

int GlyphCacheBLF::char_weight

Definition at line 140 of file blf_internal_types.hh.

◆ char_width

float GlyphCacheBLF::char_width

Definition at line 142 of file blf_internal_types.hh.

◆ fixed_width

int GlyphCacheBLF::fixed_width

Column width when printing monospaced.

Definition at line 149 of file blf_internal_types.hh.

Referenced by blf_font_fixed_width(), and blf_glyph_ensure().

◆ glyphs

◆ italic

bool GlyphCacheBLF::italic

Definition at line 146 of file blf_internal_types.hh.

◆ size

float GlyphCacheBLF::size

Font size.

Definition at line 138 of file blf_internal_types.hh.

Referenced by blf_glyph_cache_add_svg().

◆ texture

GPUTexture* GlyphCacheBLF::texture

Texture array, to draw the glyphs.

Definition at line 155 of file blf_internal_types.hh.

Referenced by blf_batch_cache_texture_load(), and blf_glyph_draw().


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