Blender V4.3
FontBufInfoBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

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

Detailed Description

Definition at line 210 of file blf_internal_types.hh.

Member Data Documentation

◆ cbuf

unsigned char* FontBufInfoBLF::cbuf

The same but unsigned char.

Definition at line 215 of file blf_internal_types.hh.

Referenced by blf_glyph_draw_buffer().

◆ col_char

unsigned char FontBufInfoBLF::col_char[4]

Cached conversion from 'col_init'.

Definition at line 226 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 227 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 224 of file blf_internal_types.hh.

Referenced by blf_draw_buffer__start().

◆ dims

int FontBufInfoBLF::dims[2]

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

Definition at line 218 of file blf_internal_types.hh.

Referenced by blf_glyph_draw_buffer().

◆ display

ColorManagedDisplay* FontBufInfoBLF::display

Display device used for color management.

Definition at line 221 of file blf_internal_types.hh.

Referenced by blf_draw_buffer__start().

◆ fbuf

float* FontBufInfoBLF::fbuf

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

Definition at line 212 of file blf_internal_types.hh.

Referenced by blf_glyph_draw_buffer().


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