Function piston_window::rectangle_from_to [−][src]
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,
Draws rectangle.
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,
Draws rectangle.