Blender V5.0
FontBufInfoBLF Struct Reference

#include <blf_internal_types.hh>

Public Attributes

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

Detailed Description

Definition at line 224 of file blf_internal_types.hh.

Member Data Documentation

◆ cbuf

unsigned char* FontBufInfoBLF::cbuf

The same but unsigned char.

Definition at line 229 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 240 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 241 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 238 of file blf_internal_types.hh.

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

◆ colorspace

const ColorSpace* FontBufInfoBLF::colorspace

Colorspace of the byte buffer (float is scene linear).

Definition at line 235 of file blf_internal_types.hh.

Referenced by BLF_buffer(), and blf_draw_buffer__start().

◆ dims

int FontBufInfoBLF::dims[2]

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

Definition at line 232 of file blf_internal_types.hh.

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

◆ fbuf

float* FontBufInfoBLF::fbuf

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

Definition at line 226 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: