fn cursor_for_frame(
track: &[CursorSample],
cfg: &CursorConfig,
fps: u32,
frame: Frame,
ripple_active: bool,
) -> Option<(f32, f32)>Expand description
The pointer position to draw at project frame, applying
CursorConfig::hide_static.
Returns None (pointer hidden) only when the cursor is parked and no
click ripple is live — a click is an action worth showing even if the
cursor hasn’t moved (the Screen Studio rule). Otherwise the smoothed
position from cursor_at. Pure, so the
hide-while-static decision is unit-testable without a renderer.