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