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

pub fn relative_rectangle<T>(rect: Rectangle<T>, v: Vec2d<T>) -> Rectangle<T> where
    T: Float

Computes a relative rectangle using the rectangle as a tile.