Function nih_plug_iced::widgets::util::remap_rect_y_t
source · pub fn remap_rect_y_t(rect: &Rectangle, t: f32) -> f32
Expand description
Remap a [0, 1]
value to a y-coordinate within this rectangle. The value will be clamped to
[0, 1]
if it isn’t already in that range.