Scroll to reveal a position within the current window.
local_x
Position in the current window-local coordinate space, in pixels.
center_x_ratio
Alignment of the target in the visible region: 0 is the leading edge, 0.5 the center, and 1 the trailing edge.
adjust scrolling amount to make given position visible.
Generally GetCursorStartPos() + offset to compute a valid position.
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
Scroll to reveal a position within the current window.