Function rectangle_from_to

Source
pub fn rectangle_from_to<P, G>(
    color: [f32; 4],
    from: P,
    to: P,
    transform: [[f64; 3]; 2],
    g: &mut G,
)
where P: Into<[f64; 2]>, G: Graphics,
Expand description

Draws rectangle.