Blender V5.3
blender::EditFont Struct Reference

#include <BKE_vfont.hh>

Public Attributes

char32_t * textbuf
CharInfo * textbufinfo
float font_size_eval
float2 textcurs [4]
EditFontSelBox * selboxes
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 44 of file BKE_vfont.hh.

Member Data Documentation

◆ font_size_eval

float blender::EditFont::font_size_eval

The font size from the last evaluated text layout.

Definition at line 51 of file BKE_vfont.hh.

Referenced by blender::vfont_to_curve().

◆ len

◆ needs_flush_to_id

char blender::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 79 of file BKE_vfont.hh.

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

◆ pos

◆ selboxes

EditFontSelBox* blender::EditFont::selboxes

◆ selboxes_len

int blender::EditFont::selboxes_len

Definition at line 56 of file BKE_vfont.hh.

Referenced by blender::vfont_to_curve().

◆ select_char_info_flag

int blender::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 73 of file BKE_vfont.hh.

Referenced by blender::vfont_to_curve().

◆ selend

◆ selstart

◆ textbuf

◆ textbufinfo

◆ textcurs

float2 blender::EditFont::textcurs[4]

Array of rectangles & rotation.

Definition at line 54 of file BKE_vfont.hh.

Referenced by blender::vfont_to_curve(), and blender::view3d_orbit_calc_center().


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