GetRect_LeftHanded module

get_insert_point_for_cursor

procedure · 1 overloadSource
get_insert_point_for_cursor :: (
    state: *Text_Input_State,
    font: *Font,
    text: string,
    current_frame_text_x: float,
    cursor_x: int,
    effect: Font_Effects,
    glyphs_prepped := false
) -> int

Parameters

font: *Font
text: string
current_frame_text_x: float
cursor_x: int
effect: Font_Effects
glyphs_prepped := false

Returns

int

See also