Trait libreda_db::layout::prelude::Scale
pub trait Scale<T> {
// Required method
fn scale(&self, factor: T) -> Self;
}Expand description
Scale the geometrical shape. Scaling center is the origin (0, 0).
Required Methods§
fn scale(&self, factor: T) -> Self
fn scale(&self, factor: T) -> Self
Scale the geometrical shape. Scaling center is the origin (0, 0).