Function graphics::math::relative_rectangle [−] [src]

pub fn relative_rectangle(rect: Rectangle, v: Vec2d) -> Rectangle

Computes a relative rectangle using the rectangle as a tile.