Blender V4.3
EditFont Struct Reference

#include <BKE_vfont.hh>

Public Attributes

char32_t * textbuf
 
CharInfotextbufinfo
 
float textcurs [4][2]
 
EditFontSelBoxselboxes
 
int selboxes_len
 
int len
 
int pos
 
int selstart
 
int selend
 
int select_char_info_flag
 
char needs_flush_to_id
 

Detailed Description

Edit data for Curve (a text curve, with an Object::type of OB_FONT).

Definition at line 33 of file BKE_vfont.hh.

Member Data Documentation

◆ len

◆ needs_flush_to_id

char EditFont::needs_flush_to_id

ID data is older than edit-mode data. Set Main.is_memfile_undo_flush_needed when enabling.

Definition at line 65 of file BKE_vfont.hh.

Referenced by BKE_object_data_editmode_flush_ptr_get(), font_undosys_step_decode(), and font_undosys_step_encode().

◆ pos

◆ selboxes

◆ selboxes_len

int EditFont::selboxes_len

Definition at line 42 of file BKE_vfont.hh.

Referenced by edit_text_cache_populate_select(), and vfont_to_curve().

◆ select_char_info_flag

int EditFont::select_char_info_flag

Combined styles from CharInfo.flag for the selected range selected (only including values from CU_CHINFO_STYLE_ALL). A flag will be set only if ALL characters in the selected string have it.

Definition at line 59 of file BKE_vfont.hh.

Referenced by vfont_to_curve().

◆ selend

◆ selstart

◆ textbuf

◆ textbufinfo

◆ textcurs

float EditFont::textcurs[4][2]

Array of rectangles & rotation.

Definition at line 40 of file BKE_vfont.hh.

Referenced by edit_text_cache_populate_cursor(), vfont_to_curve(), and view3d_orbit_calc_center().


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