|
Blender V4.3
|
#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 |
Definition at line 136 of file blf_internal_types.hh.
| GlyphCacheBLF::~GlyphCacheBLF | ( | ) |
Definition at line 153 of file blf_glyph.cc.
References bitmap_result, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear_and_shrink(), glyphs, GPU_texture_free(), and MEM_freeN().
| 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().
| int GlyphCacheBLF::bitmap_len_alloc |
Definition at line 159 of file blf_internal_types.hh.
Referenced by blf_glyph_draw().
| 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().
| char* GlyphCacheBLF::bitmap_result |
Definition at line 156 of file blf_internal_types.hh.
Referenced by blf_batch_cache_texture_load(), blf_glyph_draw(), and ~GlyphCacheBLF().
| bool GlyphCacheBLF::bold |
Definition at line 145 of file blf_internal_types.hh.
| float GlyphCacheBLF::char_slant |
Definition at line 141 of file blf_internal_types.hh.
| float GlyphCacheBLF::char_spacing |
Definition at line 143 of file blf_internal_types.hh.
| int GlyphCacheBLF::char_weight |
Definition at line 140 of file blf_internal_types.hh.
| float GlyphCacheBLF::char_width |
Definition at line 142 of file blf_internal_types.hh.
| 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().
| blender::Map<GlyphCacheKey, std::unique_ptr<GlyphBLF> > GlyphCacheBLF::glyphs |
The glyphs.
Definition at line 152 of file blf_internal_types.hh.
Referenced by blf_glyph_cache_add_blank(), blf_glyph_cache_add_glyph(), blf_glyph_cache_add_svg(), blf_glyph_cache_find_glyph(), and ~GlyphCacheBLF().
| bool GlyphCacheBLF::italic |
Definition at line 146 of file blf_internal_types.hh.
| float GlyphCacheBLF::size |
Font size.
Definition at line 138 of file blf_internal_types.hh.
Referenced by blf_glyph_cache_add_svg().
| 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().