Blender V5.0
EditFont Struct Reference

#include <BKE_vfont.hh>

Public Attributes

char32_t * textbuf
CharInfotextbufinfo
float font_size_eval
blender::float2 textcurs [4]
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 39 of file BKE_vfont.hh.

Member Data Documentation

◆ font_size_eval

float EditFont::font_size_eval

The font size from the last evaluated text layout.

Definition at line 46 of file BKE_vfont.hh.

Referenced by vfont_to_curve().

◆ 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 74 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

EditFontSelBox* EditFont::selboxes

Definition at line 50 of file BKE_vfont.hh.

Referenced by BKE_curve_editfont_free(), font_cursor_set_apply(), and vfont_to_curve().

◆ selboxes_len

int EditFont::selboxes_len

Definition at line 51 of file BKE_vfont.hh.

Referenced by 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 68 of file BKE_vfont.hh.

Referenced by vfont_to_curve().

◆ selend

◆ selstart

◆ textbuf

◆ textbufinfo

◆ textcurs

blender::float2 EditFont::textcurs[4]

Array of rectangles & rotation.

Definition at line 49 of file BKE_vfont.hh.

Referenced by vfont_to_curve(), and view3d_orbit_calc_center().


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