Blender V5.3
blender::ConsoleDrawLine Struct Reference

Public Attributes

const char * str
int str_len
Span< int > offsets
rcti draw_rect
int char_width
int line_height

Detailed Description

The wrapped edit line as drawn, enough to map a byte offset to a position.

Definition at line 124 of file console_draw.cc.

Member Data Documentation

◆ char_width

int blender::ConsoleDrawLine::char_width

Definition at line 130 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset_to_xy().

◆ draw_rect

rcti blender::ConsoleDrawLine::draw_rect

Definition at line 129 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset_to_xy().

◆ line_height

int blender::ConsoleDrawLine::line_height

Definition at line 131 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset_to_xy().

◆ offsets

Span<int> blender::ConsoleDrawLine::offsets

Byte offset each wrapped row starts at.

Definition at line 128 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset(), and blender::console_line_wrap_offset_to_xy().

◆ str

const char* blender::ConsoleDrawLine::str

Definition at line 125 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset().

◆ str_len

int blender::ConsoleDrawLine::str_len

Definition at line 126 of file console_draw.cc.

Referenced by blender::console_line_wrap_offset().


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