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
- state: *Text_Input_State
- font: *Font
- text: string
- current_frame_text_x: float
- cursor_x: int
- effect: Font_Effects
- glyphs_prepped := false
Returns
- int