U.ui_scale is the setting from the user preferences and should never be used for drawing. UI_DPI_FAC is the final scale after DPI from the operating system is taken into account.
U.ui_scale is the setting from the user preferences and should never be used for drawing. UI_DPI_FAC is the final scale after DPI from the operating system is taken into account.