Blender V4.5
ResultBLF Struct Reference

#include <BLF_api.hh>

Public Attributes

int lines
 
int width
 

Detailed Description

Result of drawing/evaluating the string

Definition at line 477 of file BLF_api.hh.

Member Data Documentation

◆ lines

int ResultBLF::lines

Number of lines drawn when BLF_WORD_WRAP is enabled (both wrapped and \n newline).

Definition at line 481 of file BLF_api.hh.

Referenced by blf_font_boundbox_ex(), blf_font_draw_buffer_ex(), blf_font_draw_ex(), blf_font_wrap_apply(), and UI_fontstyle_draw_multiline_clipped_ex().

◆ width

int ResultBLF::width

The 'cursor' position on completion (ignoring character boundbox).

Definition at line 485 of file BLF_api.hh.

Referenced by blf_font_boundbox_ex(), blf_font_draw_buffer_ex(), blf_font_draw_ex(), blf_font_wrap_apply(), and UI_fontstyle_draw_multiline_clipped_ex().


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