GetRect module

get_selection_endpoints

procedure · 1 overloadSource
get_selection_endpoints :: (
    font: *Font,
    text: string,
    effect: Font_Effects,
    text_x: float,
    start_character: int,
    end_character: int
) -> (x0: float, x1: float)

Parameters

font: *Font
text: string
effect: Font_Effects
text_x: float
start_character: int
end_character: int

Returns

x0: float
x1: float

See also