Blender V5.3
blender::VFontCursor_Params Struct Reference

Public Attributes

float2 cursor_location
int r_string_offset

Detailed Description

Used when translating a mouse cursor location to a position within the string.

Definition at line 617 of file vfont_curve.cc.

Member Data Documentation

◆ cursor_location

float2 blender::VFontCursor_Params::cursor_location

Mouse cursor location in Object coordinate space as input.

Definition at line 619 of file vfont_curve.cc.

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

◆ r_string_offset

int blender::VFontCursor_Params::r_string_offset

Character position within #EditFont::textbuf as output.

Definition at line 621 of file vfont_curve.cc.

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


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