zng_layout::unitTrait PxToDip
source pub trait PxToDip {
type AsDip;
// Required method
fn to_dip(self, scale_factor: Factor) -> Self::AsDip;
}
Expand description
Conversion from Px
to Dip
units.
Self
equivalent in Dip
units.
Divide the Px
self by the scale.