toPixels

open fun toPixels(dp: Float): Float

Deprecated

Use `dpToPx` instead.

Replace with

dpToPx(dp)

Converts the provided dimension from dp to px.