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.
pub fn relative_rectangle(rect: Rectangle, v: Vec2d) -> Rectangle
Computes a relative rectangle using the rectangle as a tile.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).