Blender V5.3
blender::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
Map< GlyphCacheKey, std::unique_ptr< GlyphBLF > > glyphs
gpu::Texture * texture
char * bitmap_result
int bitmap_len
int bitmap_len_landed
int bitmap_len_alloc

Detailed Description

Definition at line 153 of file blf_internal_types.hh.

Constructor & Destructor Documentation

◆ ~GlyphCacheBLF()

blender::GlyphCacheBLF::~GlyphCacheBLF ( )

Definition at line 150 of file blf_glyph.cc.

References bitmap_result, glyphs, blender::GPU_texture_free(), and texture.

Member Data Documentation

◆ bitmap_len

int blender::GlyphCacheBLF::bitmap_len

◆ bitmap_len_alloc

int blender::GlyphCacheBLF::bitmap_len_alloc

Definition at line 176 of file blf_internal_types.hh.

Referenced by blender::blf_glyph_draw().

◆ bitmap_len_landed

int blender::GlyphCacheBLF::bitmap_len_landed

◆ bitmap_result

char* blender::GlyphCacheBLF::bitmap_result

◆ bold

bool blender::GlyphCacheBLF::bold

Definition at line 162 of file blf_internal_types.hh.

◆ char_slant

float blender::GlyphCacheBLF::char_slant

Definition at line 158 of file blf_internal_types.hh.

◆ char_spacing

float blender::GlyphCacheBLF::char_spacing

Definition at line 160 of file blf_internal_types.hh.

◆ char_weight

int blender::GlyphCacheBLF::char_weight

Definition at line 157 of file blf_internal_types.hh.

◆ char_width

float blender::GlyphCacheBLF::char_width

Definition at line 159 of file blf_internal_types.hh.

◆ fixed_width

int blender::GlyphCacheBLF::fixed_width

Column width when printing monospaced.

Definition at line 166 of file blf_internal_types.hh.

Referenced by blender::blf_font_fixed_width(), and blender::blf_glyph_ensure().

◆ glyphs

◆ italic

bool blender::GlyphCacheBLF::italic

Definition at line 163 of file blf_internal_types.hh.

◆ size

float blender::GlyphCacheBLF::size

Font size.

Definition at line 155 of file blf_internal_types.hh.

Referenced by blender::blf_glyph_cache_add_svg(), and blender::blf_glyph_step().

◆ texture

gpu::Texture* blender::GlyphCacheBLF::texture

Texture array, to draw the glyphs.

Definition at line 172 of file blf_internal_types.hh.

Referenced by blender::blf_batch_cache_texture_load(), blender::blf_glyph_draw(), and ~GlyphCacheBLF().


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