public static SizeDouble ConvertViewportToCanvas(this CanvasView canvasView, SizeDouble viewportSize) => CanvasCoordinateConversions.ConvertViewportToCanvas(viewportSize, canvasView.ScaleRatio, canvasView.ViewportCanvasOffset);
public static VectorDouble ConvertViewportToCanvas(this CanvasView canvasView, VectorDouble viewportVec) => CanvasCoordinateConversions.ConvertViewportToCanvas(viewportVec, canvasView.ScaleRatio, canvasView.ViewportCanvasOffset);
public static RectDouble ConvertViewportToCanvas(this CanvasView canvasView, RectDouble viewportRect) => CanvasCoordinateConversions.ConvertViewportToCanvas(viewportRect, canvasView.ScaleRatio, canvasView.ViewportCanvasOffset);