Trait libreda_pnr::db::Scale[]

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

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

Loading content...