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