Function graphics::math::margin_rectangle
[−]
[src]
pub fn margin_rectangle(rect: Rectangle, m: Scalar) -> Rectangle
Shrinks a rectangle by a factor on all sides.
pub fn margin_rectangle(rect: Rectangle, m: Scalar) -> Rectangle
Shrinks a rectangle by a factor on all sides.
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
).