using UIWidgets.foundation;
using UIWidgets.gestures;
using UIWidgets.ui;
using UnityEditor;
using UnityEngine.Assertions;
namespace UIWidgets.painting
using System;
namespace UIWidgets.ui
{
return Math.Round(v * EditorGUIUtility.pixelsPerPoint) / EditorGUIUtility.pixelsPerPoint;
return Math.Round(v * Window.instance.devicePixelRatio) / Window.instance.devicePixelRatio;
}