Versions in this module Expand all Collapse all v0 v0.8.0 Dec 28, 2024 Changes in this version + type Dp float32 + type Metric struct + PxPerDp float32 + PxPerSp float32 + func (c Metric) Dp(v Dp) int + func (c Metric) DpToSp(v Dp) Sp + func (c Metric) PxToDp(v int) Dp + func (c Metric) PxToSp(v int) Sp + func (c Metric) Sp(v Sp) int + func (c Metric) SpToDp(v Sp) Dp + type Sp float32