Function graphics::rectangle_from_to [−][src]
pub fn rectangle_from_to<P: Into<Vec2d>, G>(
color: Color,
from: P,
to: P,
transform: Matrix2d,
g: &mut G
) where
G: Graphics,
Draws rectangle.
pub fn rectangle_from_to<P: Into<Vec2d>, G>(
color: Color,
from: P,
to: P,
transform: Matrix2d,
g: &mut G
) where
G: Graphics,
Draws rectangle.