Blender V5.3
blender::seq::CharInfo Struct Reference

#include <SEQ_effects.hh>

Public Attributes

int index = 0
int offset = 0
int byte_length = 0
float2 position {0.0f, 0.0f}
int advance_x = 0
bool do_wrap = false

Detailed Description

Definition at line 63 of file SEQ_effects.hh.

Member Data Documentation

◆ advance_x

int blender::seq::CharInfo::advance_x = 0

FreeType pixel offset for drawing next character after this one.

Definition at line 73 of file SEQ_effects.hh.

Referenced by blender::seq::apply_word_wrapping(), and blender::ed::vse::text_selection_draw().

◆ byte_length

int blender::seq::CharInfo::byte_length = 0

◆ do_wrap

bool blender::seq::CharInfo::do_wrap = false

Indicate that the next character after this one should be on a new line.

Definition at line 75 of file SEQ_effects.hh.

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

◆ index

int blender::seq::CharInfo::index = 0

Character offset within text buffer.

Definition at line 65 of file SEQ_effects.hh.

Referenced by blender::ed::vse::cursor_position_to_offset(), and blender::ed::vse::find_closest_cursor_offset().

◆ offset

◆ position


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