Skip to main content

encode_resolved_px_i16

Function encode_resolved_px_i16 

Source
pub fn encode_resolved_px_i16(px: f32) -> i16
Expand description

Encode an i16 resolved px value (×10). Returns I16_SENTINEL if out of range. Range: -3276.8 ..= +3276.3 px at 0.1px precision.