lv_obj_dpx() function
Scale the given number of pixels (a distance or size) relative to a 160 DPI display considering the DPI of the `obj`'s display. It ensures that e.g. `lv_dpx(100)` will have the same physical size regardless to the DPI of the display.
Arguments
obj
an object whose display's dpi should be considered
n
the number of pixels to scale
Return value
`n x current_dpi/160`