Blender V5.3
blender::TextVars Struct Reference

#include <DNA_sequence_types.h>

Public Attributes

char * text_ptr = nullptr
int text_len_bytes = 0
char _pad2 [4] = {}
struct VFont * text_font = nullptr
int text_blf_id = 0
float text_size = 0
float space_line = 1.0f
float abs_space_line = 1.0f
float color [4] = {}
float shadow_color [4] = {}
float box_color [4] = {}
float outline_color [4] = {}
float loc [2] = {}
float wrap_width = 0
float box_margin = 0
float box_roundness = 0
float shadow_angle = 0
float shadow_offset = 0
float shadow_blur = 0
float outline_width = 0
eEffectTextFlags flag = SEQ_TEXT_NONE
eEffectTextAlignX align = SEQ_TEXT_ALIGN_X_LEFT
char _pad [2] = {}
int cursor_offset = 0
int selection_start_offset = 0
int selection_end_offset = 0
DNA_DEPRECATED char align_y_legacy = 0
eEffectTextAnchorX anchor_x = SEQ_TEXT_ANCHOR_X_LEFT
eEffectTextAnchorY anchor_y = SEQ_TEXT_ANCHOR_Y_TOP
char _pad1 [1] = {}
seq::TextVarsRuntime * runtime = nullptr
char text_legacy [512] = ""
TextboxState textbox_state

Detailed Description

Definition at line 830 of file DNA_sequence_types.h.

Member Data Documentation

◆ _pad

char blender::TextVars::_pad[2] = {}

Definition at line 857 of file DNA_sequence_types.h.

◆ _pad1

char blender::TextVars::_pad1[1] = {}

Definition at line 869 of file DNA_sequence_types.h.

◆ _pad2

char blender::TextVars::_pad2[4] = {}

Definition at line 839 of file DNA_sequence_types.h.

◆ abs_space_line

float blender::TextVars::abs_space_line = 1.0f

Definition at line 845 of file DNA_sequence_types.h.

◆ align

eEffectTextAlignX blender::TextVars::align = SEQ_TEXT_ALIGN_X_LEFT

Definition at line 856 of file DNA_sequence_types.h.

◆ align_y_legacy

DNA_DEPRECATED char blender::TextVars::align_y_legacy = 0

Replaced by anchor_y in 4.4.

Definition at line 865 of file DNA_sequence_types.h.

◆ anchor_x

eEffectTextAnchorX blender::TextVars::anchor_x = SEQ_TEXT_ANCHOR_X_LEFT

Definition at line 867 of file DNA_sequence_types.h.

◆ anchor_y

eEffectTextAnchorY blender::TextVars::anchor_y = SEQ_TEXT_ANCHOR_Y_TOP

Definition at line 868 of file DNA_sequence_types.h.

◆ box_color

float blender::TextVars::box_color[4] = {}

Definition at line 846 of file DNA_sequence_types.h.

◆ box_margin

float blender::TextVars::box_margin = 0

Definition at line 849 of file DNA_sequence_types.h.

◆ box_roundness

float blender::TextVars::box_roundness = 0

Definition at line 850 of file DNA_sequence_types.h.

◆ color

float blender::TextVars::color[4] = {}

Definition at line 846 of file DNA_sequence_types.h.

◆ cursor_offset

int blender::TextVars::cursor_offset = 0

Offsets in characters (unicode code-points) for #TextVars::text_ptr.

Definition at line 860 of file DNA_sequence_types.h.

Referenced by blender::ed::vse::sequencer_add_text_strip().

◆ flag

eEffectTextFlags blender::TextVars::flag = SEQ_TEXT_NONE

Definition at line 855 of file DNA_sequence_types.h.

Referenced by blender::seq::text_effect_update_runtime().

◆ loc

float blender::TextVars::loc[2] = {}

Definition at line 847 of file DNA_sequence_types.h.

Referenced by blender::seq::text_effect_adjust_relative().

◆ outline_color

float blender::TextVars::outline_color[4] = {}

Definition at line 846 of file DNA_sequence_types.h.

◆ outline_width

float blender::TextVars::outline_width = 0

Definition at line 854 of file DNA_sequence_types.h.

◆ runtime

◆ selection_end_offset

int blender::TextVars::selection_end_offset = 0

Definition at line 862 of file DNA_sequence_types.h.

◆ selection_start_offset

int blender::TextVars::selection_start_offset = 0

Definition at line 861 of file DNA_sequence_types.h.

◆ shadow_angle

float blender::TextVars::shadow_angle = 0

Definition at line 851 of file DNA_sequence_types.h.

◆ shadow_blur

float blender::TextVars::shadow_blur = 0

Definition at line 853 of file DNA_sequence_types.h.

◆ shadow_color

float blender::TextVars::shadow_color[4] = {}

Definition at line 846 of file DNA_sequence_types.h.

◆ shadow_offset

float blender::TextVars::shadow_offset = 0

Definition at line 852 of file DNA_sequence_types.h.

◆ space_line

float blender::TextVars::space_line = 1.0f

Definition at line 844 of file DNA_sequence_types.h.

◆ text_blf_id

int blender::TextVars::text_blf_id = 0

◆ text_font

struct VFont* blender::TextVars::text_font = nullptr

Definition at line 841 of file DNA_sequence_types.h.

Referenced by blender::strip_foreach_member_id_cb().

◆ text_legacy

char blender::TextVars::text_legacy[512] = ""

Definition at line 874 of file DNA_sequence_types.h.

Referenced by blender::seq::strip_write_data_cb().

◆ text_len_bytes

int blender::TextVars::text_len_bytes = 0

Text length in bytes, not including terminating zero (The strlen of text).

Definition at line 838 of file DNA_sequence_types.h.

Referenced by blender::ed::vse::sequencer_add_text_strip(), and blender::seq::strip_read_data_cb().

◆ text_ptr

◆ text_size

float blender::TextVars::text_size = 0

Definition at line 843 of file DNA_sequence_types.h.

Referenced by blender::seq::text_effect_line_size_get().

◆ textbox_state

TextboxState blender::TextVars::textbox_state

UI textbox state.

Definition at line 877 of file DNA_sequence_types.h.

◆ wrap_width

float blender::TextVars::wrap_width = 0

Definition at line 848 of file DNA_sequence_types.h.

Referenced by blender::seq::text_effect_adjust_relative().


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