Trait libreda_db::layout::prelude::Scale[][src]

pub trait Scale<T> where
    T: CoordinateType
{ pub fn scale(&self, factor: T) -> Self; }

Scale the geometrical shape. Scaling center is the origin (0, 0).

Required methods

pub fn scale(&self, factor: T) -> Self[src]

Scale the geometrical shape. Scaling center is the origin (0, 0).

Loading content...

Implementors

impl<S, T> Scale<T> for S where
    S: MapPointwise<T>,
    T: CoordinateType
[src]

Loading content...