Skip to main content

pack_point

Function pack_point 

pub fn pack_point(x: f64, y: f64) -> i64
Expand description

A point packed as the one number an event’s at carries: y in whole logical pixels above x, each below a million, so a window’s coordinates survive the round trip.