RendererUtils

object RendererUtils

Functions

Link copied to clipboard
fun Context.dpToPx(dp: Int): Int

The car library ignores does not use context.resources.displayMetrics In order to scale correctly on the head unit, use resource.configuration.densityDpi