Skip to main content

readout_lines

Function readout_lines 

Source
pub fn readout_lines(
    pixel: Option<[i64; 2]>,
    readout: Option<&Readout>,
    values: Values,
    stage: Option<&Stage>,
    labels: [&str; 3],
) -> Vec<String>
Expand description

The readout’s lines for a pixel: its coordinates and the mode, then its values as asked (none when the source gave nothing usable).

Display shows an RGB and a Lab line; Scene shows one line per value the source named. The readout may be for another pixel: it lags the pointer while the source answers. Its values are shown all the same (the loupe dims them, see stale) rather than dropped, and the position line always follows pixel. Off the image (pixel is None) there is a single none line.