Blender V4.5
FontBufInfoBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

float * fbuf
unsigned char * cbuf
int dims [2]
const ColorManagedDisplaydisplay
float col_init [4]
unsigned char col_char [4]
float col_float [4]

Detailed Description

Definition at line 223 of file blf_internal_types.hh.

Member Data Documentation

◆ cbuf

unsigned char* FontBufInfoBLF::cbuf

The same but unsigned char.

Definition at line 228 of file blf_internal_types.hh.

Referenced by BLF_buffer(), BLF_draw_buffer(), blf_font_fill(), and blf_glyph_draw_buffer().

◆ col_char

unsigned char FontBufInfoBLF::col_char[4]

Cached conversion from 'col_init'.

Definition at line 239 of file blf_internal_types.hh.

Referenced by blf_draw_buffer__start(), and blf_glyph_draw_buffer().

◆ col_float

float FontBufInfoBLF::col_float[4]

Definition at line 240 of file blf_internal_types.hh.

Referenced by blf_draw_buffer__start(), and blf_glyph_draw_buffer().

◆ col_init

float FontBufInfoBLF::col_init[4]

The color, the alphas is get from the glyph! (color is sRGB space).

Definition at line 237 of file blf_internal_types.hh.

Referenced by BLF_buffer_col(), BLF_buffer_state_pop(), blf_draw_buffer__start(), and blf_font_fill().

◆ dims

int FontBufInfoBLF::dims[2]

Buffer size, keep signed so comparisons with negative values work.

Definition at line 231 of file blf_internal_types.hh.

Referenced by BLF_buffer(), blf_font_fill(), and blf_glyph_draw_buffer().

◆ display

const ColorManagedDisplay* FontBufInfoBLF::display

Display device used for color management.

Definition at line 234 of file blf_internal_types.hh.

Referenced by BLF_buffer(), and blf_draw_buffer__start().

◆ fbuf

float* FontBufInfoBLF::fbuf

For draw to buffer, always set this to NULL after finish!

Definition at line 225 of file blf_internal_types.hh.

Referenced by BLF_buffer(), BLF_draw_buffer(), blf_font_fill(), and blf_glyph_draw_buffer().


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