public static double ConvertViewportXToCanvasX(this CanvasView canvasView, double viewportX) => CanvasCoordinateConversions.ConvertViewportXToCanvasX(viewportX, canvasView.ScaleRatio, canvasView.ViewportCanvasOffset);
public static double ConvertViewportXToCanvasX(this CanvasView canvasView, double viewportX) => CanvasCoordinateConversions.ConvertViewportXToCanvasX(viewportX, canvasView.ScaleRatio, canvasView.ViewportCanvasOffset);