Skip to main content

draw_remote_cursors

Function draw_remote_cursors 

pub fn draw_remote_cursors(
    scene: &mut Scene,
    transform: Affine,
    text_renderer: &mut TextRenderer,
    theme: &Theme,
    presence: &PresenceCtx,
)
Expand description

Paint every entry in presence.remote_cursors as a dot + name pill, for non-shell apps drawing cross-process ghost cursors without reimplementing the geometry. No viewport, so pills are de-overlapped but not clamped — prefer draw_remote_presence, which keeps names on screen.