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